Learn R Programming

fable (version 0.0.0.9000)

new_specials_env: Create evaluation environment for specials

Description

Allows extension packages to make use of the formula parsing of specials.

Usage

new_specials_env(..., .env = caller_env(), .required_specials = NULL,
  .bury = TRUE, .vals = NULL)

Arguments

...

A named set of functions which used to parse formula inputs

.env

The evaluation environment of the specials (to find other user objects)

.required_specials

The names of specials which must be provided (and if not, are included used with no inputs).

.bury

If TRUE, the specials are bound to a child environment of .env.

.vals

A list of named values to be bound to the special functions