View source: R/s3-vctrs_vctr.R
| opts_vctrs_vctr | R Documentation |
These options will be used on objects of class 'vctrs_vctr'.
opts_vctrs_vctr(constructor = c("new_vctr", "next"), ...)
constructor |
String. Name of the function used to construct the object, see Details section. |
... |
Additional options used by user defined constructors through the |
Depending on constructor, we construct the object as follows:
"new_vctr" (default): Use vctrs::new_vctr() on the underlying vector,
additional attributes are passed through ..., subclasses through the
class argument and inherit_base_type is set when needed, so this
constructor also works for classes built on top of 'vctrs_vctr'.
"next" : Use the constructor for the next supported class.
An object of class <constructive_options/constructive_options_vctrs_vctr>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.