Learn R Programming

pkgGraphR (version 0.3.1)

collectFunNames: Collect all functions in a package or directory

Description

collect all the functions defined in an R program, directory, or file

Usage

collectFunNames(x)

Value

A named list of function assignments in each `.R` file in `x`

Arguments

x

A character string specifying the path to an R package, directory, or file

Examples

Run this code
system.file("extdata", package = "pkgGraphR") |>
    collectFunNames()

Run the code above in your browser using DataLab