opts_roman: Constructive options for class 'roman'

View source: R/s3-roman.R

opts_romanR Documentation

Constructive options for class 'roman'

Description

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

Usage

opts_roman(constructor = c("as.roman", "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:

  • "as.roman" (default): We build the object using as.roman() on a character vector of roman numerals.

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

Value

An object of class <constructive_options/constructive_options_roman>


constructive documentation built on Oct. 22, 2026, 5:07 p.m.