| parse_env_subset {listenv} | R Documentation |
Helper function to infer target from expression and environment
Description
Helper function to infer target from expression and environment
Usage
parse_env_subset(
expr,
envir = parent.frame(),
substitute = TRUE,
is_variable = TRUE
)
Arguments
expr |
An expression. |
envir |
An environment. |
substitute |
If |
is_variable |
(logical) If TRUE and an element name is specified, then the name is checked to be a valid variable name. |
Value
A named list with elements:
envirAn environment (defaults to argument
envir)nameA character vector. ...
op...
subsetA list of
NULL. ...idxAn integer vector or
NULL. ...existsA logical vector of length
length(idx)withTRUEandFALSEvalues.codeThe deparsed expression
exprcoerced to a single character string.
[Package listenv version 0.10.0 Index]