functionMap (version 1.0.0)

create_function_map: Create a function_map object from a parsed result

Description

Create a function_map object from a parsed result

Usage

create_function_map(data, package = NULL, rfile = NULL, rpath = NULL, rfilepattern = NULL, include_base = NULL, class = NULL)

Arguments

data
A named list. Names are function names, list entries are the functions they call. Make sure you include multiplicity.
package
Name of the R package, or NULL if not an R package.
rfile
Name of the R script, or NULL if not an R script.
rpath
Path to the R folder, or NULL is not an R folder.
rfilepattern
Pattern for R files in the folder, or NULL if not an R folder.
include_base
Whether calls to base functions are included.
class
What class to set on the result, in addition to function_map.

Value

A function_map object.