View source: R/s3-vctrs_rcrd.R
| opts_vctrs_rcrd | R Documentation |
These options will be used on objects of class 'vctrs_rcrd'.
opts_vctrs_rcrd(constructor = c("new_rcrd", "next", "list"), ...)
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_rcrd" (default): Use vctrs::new_rcrd() on the list of fields,
additional attributes are passed through ... and subclasses through the
class argument, so this constructor also works for classes built on top
of 'vctrs_rcrd'.
"next" : Use the constructor for the next supported class.
"list" : Use list() and treat the class as a regular attribute.
An object of class <constructive_options/constructive_options_vctrs_rcrd>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.