get_funcs_from_r_script: Extract all functions from an R script

Description Usage Arguments Value

View source: R/parse-exprs.R

Description

Reads the file into a temporary environment, and checks whether the objects in this environment are functions.

Usage

1

Arguments

rfile

The .R input file.

env

An environment to evaluate the code in. If NULL, a new temporary environment is used.

Value

Named list of function objects, they also include the source code, in a parsed data base form, as attribute ‘src’.


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