opts_R6ClassGenerator: Constructive options for class 'R6ClassGenerator'

View source: R/s3-R6ClassGenerator.R

opts_R6ClassGeneratorR Documentation

Constructive options for class 'R6ClassGenerator'

Description

These options will be used on objects of class 'R6ClassGenerator'.

Usage

opts_R6ClassGenerator(constructor = c("R6Class", "next"), ...)

Arguments

constructor

String. Name of the function used to construct the object.

...

Additional options used by user defined constructors through the opts object

Details

Depending on constructor, we construct the object as follows:

  • "R6Class" (default): We build the object using R6Class().

  • "next" : Use the constructor for the next supported class.

Value

An object of class <constructive_options/constructive_options_R6ClassGenerator>


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