These options will be used on objects of class 'data.table'.
opts_data.table(
constructor = c("data.table", "next", "list"),
...,
selfref = FALSE,
recycle = TRUE
)
An object of class <constructive_options/constructive_options_data.table>
String. Name of the function used to construct the object, see Details section.
Additional options used by user defined constructors through the opts
object
Boolean. Whether to include the .internal.selfref
attribute. It's
probably not useful, hence the default, waldo::compare()
is used to assess the output
fidelity and doesn't check it, but if you really need to generate code that builds
an object identical()
to the input you'll need to set this to TRUE
.#'
Boolean. Whether to recycle scalars to compress the output.
Depending on constructor
, we construct the object as follows: