opts_vctrs_list_of: Constructive options for class 'data.table'

View source: R/s3-vctrs_list_of.R

opts_vctrs_list_ofR 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", "next", "list"), ...)

Arguments

constructor

String. Name of the function used to construct the object, see Details section.

...

Additional options used by user defined constructors through the opts object

Details

Depending on constructor, we construct the object as follows:

  • "list_of" (default): Wrap the column definitions in a list_of() call.

  • "list" : Use list() and treat the class as a regular attribute.

Value

An object of class <constructive_options/constructive_options_vctrs_list_of>


constructive documentation built on April 3, 2025, 9:39 p.m.