vadr (version 0.01)

dots2env: Convert an a ... object into an environment, without forcing promises.

Description

All named entries in the dots object will be bound to variables in the given environment. Unnamed entries will be appended to any existing value of `...` in the order in which they appear. Promises will not be forced.

Usage

dots2env(dots, envir = NULL, parent = arg_env(dots, environment()), hash = (length(dots) > 100), size = max(29L, length(dots)))

Arguments

dots
The dots object to convert.
envir
if not NULL, an environment to populate. If NULL, a new environment will be created.
parent
If creating a new environment, the parent to use.
hash
Whether the new environment should use a hashtable.
size
The size of the new environment.

Value

An environment object.