Parses the code and returns counts of calls, assignments, symbols, expressions, and maximum nesting depth.
Value
A named list with components:
n_callsNumber of function calls.
n_assignmentsNumber of assignment operations (including
<-,=,->,<<-,->>, andassign()).n_symbolsNumber of symbol (name) references.
depthMaximum AST nesting depth.
n_expressionsNumber of top-level expressions.