...
.get_dots()
unpacks ...
from a given environment and returns a
dots object.
set_dots
takes a dots list and uses it to create a binding for
...
in a given environment.
get_dots(env = caller(environment()), inherits = FALSE)set_dots(env, d, append = FALSE)
get_dots
returns a dots list. If ...
is not bound or
is missing, it returns an empty dots list.
set_dots
returns the updated environment, invisibly.
The environment to look in.
Whether to pull ...
from enclosing environments.
a [dots]
object.
if TRUE, the values should be appended to the existing binding. If false, existing binding for "..." will be replaced.
get_dots()
is equivalent to dots(...)
or
arg_list(`...`)
.
env2dots set_arg dots2env