getFunctionsFromFiles: Get functions from a file

Description Usage Arguments Examples

View source: R/get_functions_from_files.R

Description

In a future version: TODO: should output a list of missing pacakges

Usage

1
getFunctionsFromFiles(paths, output_env = NULL, libraries = NULL)

Arguments

paths

a vector of paths to parse. if you pass in a directory, it will walk that directory, looking for any files that end in R or Rmd

output_env

An environment that you want the results written to. ( TODO Deprecate)

libraries

an environment, where keys are the names of libraries.

Examples

1
2
3
file_path = system.file( "test-files/simple_test.R", package = 'remembr')
env = getFunctionsFromFiles(file_path)
convertCallCountsToHashTable(env$cards)

djacobs7/remembr documentation built on June 17, 2020, 3:35 p.m.