depth_first_analyse_expr: Analyse an expression.

Description Usage Arguments Value See Also

View source: R/depth-first-traversals.R

Description

Traverses the expression expr depth-first and analyse it it using callbacks.

Usage

1
2
depth_first_analyse_expr(expr, callbacks, params = list(),
  topdown = list(), wflags = warning_flags(), ...)

Arguments

expr

An R expression

callbacks

List of callbacks to apply.

params

Parameters of the function we are analysing. If we are working on a raw expression, just use the default, which is an empty list.

topdown

A list of additional information gathered in the traversal.

wflags

Warning flags, see warning_flags().

...

Additional data that will be passed along to callbacks.

Value

The result of the last bottom-up traversal.

See Also

analysis_callbacks

identity_analysis_callback

depth_first_analyse_function


foolbox documentation built on May 1, 2019, 8:44 p.m.