parse_r_script

0th

Percentile

Find all function calls in an R script

Find all function calls in an R script

Keywords
internal
Usage
parse_r_script(rfile, include_base = FALSE, env = NULL)
Arguments
rfile
The .R input file, or a connection to read from.
include_base
Whether to include calls to base functions in the output.
env
Environment to parse the objects into. If `NULL`, then a temporary environment is used.
Value

Named list of data frames, initially with columns: func and type. Type can be currently call and s3, the latter denoting an S3 generic instead of a regular function call.

Aliases
  • parse_r_script
Documentation reproduced from package functionMap, version 1.0.0, License: GPL-2

Community examples

Looks like there are no examples yet.