create_function_map: Create a function_map object from a parsed result

Description Usage Arguments Value

View source: R/map.R

Description

Create a function_map object from a parsed result

Usage

1
2
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.


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