find_pkg_funs: Find all uses of a package's functions

View source: R/find_package_funs.R

find_pkg_funsR Documentation

Find all uses of a package's functions

Description

This will show false positives, but guarantees that we don't miss any instance.

Usage

find_pkg_funs(pkg, path = ".", recursive = TRUE, exclude = NULL)

Arguments

pkg

A string. The name of the target package

path

A string. The path to a file or the folder to explore By default explores the working directory.

recursive

A boolean. Passed to list.files() if path is a directory

exclude

A character vector of function names to dismiss.

Value

Returns its input invisibly, called for side effects


moodymudskipper/refactor documentation built on May 17, 2024, 2:27 a.m.