These options will be used on objects of class 'object'. The 'object' type
is particular in that it is an internal type in base R, but can only be
produced at time of writing through the 'S7' package. Well this is not
completely true since those can be built from S4 objects that we remove
the S4 flag from by using asS3(x, complete = FALSE)
but we don't propose
this for now.
Usage
opts_object(constructor = c("prototype", "S7_object"), ...)
Details
Depending on constructor
, we construct the object as follows:
"S7_object"
(default): We build the object usingS7::S7_object()
. At the time of writing, this is currently the only way to create these objects."next"
: Use the constructor for the next supported class.