Extract all functions from an R script
Reads the file into a temporary environment, and checks whether the objects in this environment are functions.
get_funcs_from_r_script(rfile, env = NULL)
- The .R input file.
- An environment to evaluate the code in. If NULL, a new temporary environment is used.
Named list of function objects, they also include
the source code, in a parsed data base form, as attribute
Looks like there are no examples yet.