Walk the Abstract Syntax Tree (AST) of an R Expression
walkAST(
  expr,
  atomic = NULL,
  name = NULL,
  call = NULL,
  pairlist = NULL,
  substitute = FALSE
)R expression.
R expression.
single-argument function that takes an atomic, name, call and pairlist expression, respectively. Have to return a valid R expression.
If TRUE, expr is
substitute():ed.