parse_r_folder: Parse one or more folders of R scripts

Description Usage Arguments Value

View source: R/parseRfolder.R

Description

Parse one or more folders of R scripts

Usage

1
2
parse_r_folder(rpath, rfilepattern = default_r_file_pattern(),
  include_base = FALSE, env = NULL)

Arguments

rpath

Character vector of folders and files. Files are taken as given, folders are listed for files matching 'rfilepattern'.

rfilepattern

Pattern of file names to analyse. By default files with '.R', '.r', '.S' and '.s' extensions are used.

include_base

Whether to include functions from the 'base' package.

env

Environment to parse the files into. If 'NULL', then a separate temporary environment is used for each file.

Value

A named list with one entry for each analyzed functions. Each entry contains the names of the functions called.


MangoTheCat/functionMap documentation built on May 7, 2019, 2:10 p.m.