TRUE when both values have the same type and equal fields: their
normalized forms are the same canonical JSON, and their host-only
fields are identical().
Examples
op <- options(r8.namespace = "demo")
Point <- new_struct("Point", fields = list(x = type_double(), y = type_double()))
r8equal(Point(x = 1, y = 2), Point(x = 1L, y = 2))#> [1] TRUEoptions(op)