traverseExpressions: General mechanism to process an R language object recursively and
process each call object
Usage
traverseExpressions(x, fun = function(x) x, ...)
Arguments
x
the R language object to process
fun
the function to invoke for each R call object in the
tree
…
additional arguments passed to fun each time it is
called