opts_AsIs: Constructive options for the class 'AsIs'

View source: R/s3-AsIs.R

opts_AsIsR Documentation

Constructive options for the class AsIs

Description

These options will be used on objects of class AsIs. AsIs objects are created with I() which only prepends "AsIs" to the class attribute.

Usage

opts_AsIs(constructor = c("I", "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:

  • "I" (default): Use the I() 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_AsIs>


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