pkgfind: Find a specific pattern in the code of functions in a package

View source: R/pkgfind.R

pkgfindR Documentation

Find a specific pattern in the code of functions in a package

Description

This function names all the functions in a package that contain a specific character pattern, typically the name of a function.

Usage

pkgfind(pkg, pattern)

Arguments

pkg

a character string of the package to search in

pattern

the pattern to search in the codes of the functions in the package

Value

a vector of the names of the functions in which the pattern is identified

Examples

pkgfind("StratigrapheR", "every_nth")


StratigrapheR documentation built on July 9, 2023, 6:02 p.m.