opts_vctrs_list_of {constructive} | R Documentation |
Constructive options for class 'data.table'
Description
These options will be used on objects of class 'data.table'.
Usage
opts_vctrs_list_of(constructor = c("list_of", "list"), ...)
Arguments
constructor |
String. Name of the function used to construct the environment, see Details section. |
... |
Should not be used. Forces passing arguments by name. |
Details
Depending on constructor
, we construct the object as follows:
-
"list_of"
(default): Wrap the column definitions in alist_of()
call. -
"list"
: Uselist()
and treat the class as a regular attribute.
Value
An object of class <constructive_options/constructive_options_data.table>
[Package constructive version 0.3.0 Index]