Skip to contents

These options will be used on objects of type '...'. These are rarely encountered in practice. By default this function is useless as nothing can be set, this is provided in case users want to extend the method with other constructors.

Usage

opts_dots(constructor = c("default"), ...)

Arguments

constructor

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

...

Should not be used. Forces passing arguments by name.

Value

An object of class <constructive_options/constructive_options_dots>

Details

Depending on constructor, we construct the object as follows:

  • "default" : We use the construct (function(...) environment()$...)(a = x, y) which we evaluate in the correct environment.