utils-listFunctions: List exported functions in a package

listFunctionsR Documentation

List exported functions in a package

Description

Utilities to list and count exported functions in a package, list the contents of the description file of a package, and

Prints the content of an index file for a package (a list of the objects exported by a package).

Usage

listFunctions(package, character.only = FALSE)
countFunctions(package, character.only = FALSE)

listIndex(package, character.only = FALSE)

Arguments

package

a literal character string or a character string denoting the name of a package.

character.only

a logical indicating whether 'package' can be assumed to be a character string.

Value

for listFunctions, a character vector containing the names of the exported functions in a package,

for countFunctions, a named numeric value giving the number of the exported functions in a package.

listIndex doesn't return a useful value. It is used for the side effect of printing the description or index.

Note

Be aware that listFunctions and countFunctions attach the package to the search path.

See Also

packageDescription

Examples

## listFunctions -
   listFunctions("fBasics")
   
## countFunctions -
   countFunctions("fBasics")

fBasics documentation built on Nov. 3, 2023, 3:01 p.m.