fetch_vars | R Documentation |
Fetches variables from environment of containing function for use in internal function
fetch_vars(
.vn,
...,
evar = get0("evar", mode = "environment", envir = rlang::caller_env(), ifnotfound =
new.env()),
cenv = rlang::caller_env()
)
.vn |
named vector of variable names with their corresponding classes - to be tested with inherits |
evar |
Environment with variables passed to top level of function |
cenv |
The caller environment, stored automatically |
e |
The list made from ellipsis if parameters are input as ellipsis argument |
penv |
The parent of the caller environment, also stored automatically |
sf |
The system frames for searching if not found in previous two environments. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.