findfuns: findfuns finds references to other functions within other...

View source: R/rutils.R

findfunsR Documentation

findfuns finds references to other functions within other functions

Description

findfuns is used when developing a complex project containing many R files, each containing many R functions. Given a file that contains a set of functions (infile) and a data.frame of all functions from the project (allfuns), which is obtained using listfuns, then findfuns searches each function for references to any of the projects functions. This allows them to be cross referenced

Usage

findfuns(indir, infile, allfuns)

Arguments

indir

the directory in which the file identified in 'infile' is located

infile

the filename of the R file within which to search for the functions listed in the allfuns data.frame derived from the listfuns function

allfuns

a data.frame of functions and their properties listed in the order of the sorted function names in the 'function' column

Value

the same data.frame except that the references column will have been populated

See Also

describefunctions, identifyfuns

Examples

print("wait on suitable data-set")

haddonm/codeutils documentation built on April 15, 2024, 1:02 p.m.