opts_constructive_options: Constructive options for the class 'constructive_options'

View source: R/s3-constructive_options.R

opts_constructive_optionsR Documentation

Constructive options for the class constructive_options

Description

These options will be used on objects of class constructive_options.

Usage

opts_constructive_options(constructor = c("opts", "next"), ...)

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:

  • "opts" : Use the relevant ⁠constructive::opts_?()⁠ function.

  • "next" : Use the constructor for the next supported class. Call .class2() on the object to see in which order the methods will be tried.

Value

An object of class <constructive_options/constructive_options_constructive_options>


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