Constructive options for the class constructive_options
Source: R/s3-constructive_options.R
opts_constructive_options.Rd
These options will be used on objects of class constructive_options
.
Usage
opts_constructive_options(constructor = c("opts", "next"), ...)
Arguments
- constructor
String. Name of the function used to construct the object, see Details section.
- ...
Should not be used. Forces passing arguments by name.
Details
Depending on constructor
, we construct the object as follows:
"opts"
: Use the relevantconstructive::opts_?()
function."next"
: Use the constructor for the next supported class. Call.class2()
on the object to see in which order the methods will be tried.