opts_weakref {constructive} | R Documentation |
Constructive options for the class weakref
Description
These options will be used on objects of type weakref
. weakref
objects
are rarely encountered and there is no base R function to create them. However
rlang has a new_weakref
function that we can use.
Usage
opts_weakref(constructor = c("new_weakref"), ...)
Arguments
constructor |
String. Name of the constructor. |
... |
Additional options used by user defined constructors through the |
Value
An object of class <constructive_options/constructive_options_array>
[Package constructive version 1.0.1 Index]