findNSE | R Documentation |
This analyzes the R code to find instances of non-standard evaluation,
e.g. uses of eval
, evalq
, eval.parent
, get
, assign
, rm
.
findNSE(code, asNodes = TRUE)
code |
the R code object |
asNodes |
a logical value controlling whether to return the resulting NSE code objects as nodes or indices. |
the nodes in the rstatic
abstract syntax tree
that are identified as NSE.
Duncan Temple Lang
find_nodes
e = parse(text = "if(cleanup) rm(x, y)")
findNSE(e)
findNSE(body(lm))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.