searchFunctions: Search Functions for Character Strings

Description Usage Arguments Details Author(s) Examples

View source: R/searchFunctions.R

Description

Search Functions for Character Strings

Usage

1

Arguments

pattern

The character string to be matched

directory

The directory of functions to be scanned

Details

At times, I have needed to find certain character strings within a package. For instance, I may need to know which functions contain a particular argument. This function scans all of the files in a directory for a character string and returns the names of the files that contain it.

Author(s)

Benjamin Nutter

Examples

1
2
3
4
5
## Not run: 
searchFunctions("survival",
                "C:/Users/nutterb/Documents/GitHub/lazyWeave/R")

## End(Not run)

nutterb/junkyard documentation built on May 24, 2019, 10:51 a.m.