Helper function to infer target from expression and environment
parse_env_subset(expr, envir = parent.frame(), substitute = TRUE)An expression.
An environment.
If TRUE, then the expression is base::substitute():ed,
otherwise not.
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) with TRUE
and FALSE values.
codeThe deparsed expression expr coerced to a single character
string.