cyclocomp (version 1.1.0)

cyclocomp_package: Cyclomatic complexity of the objects in an installed package

Description

Note that the package must be installed.

Usage

cyclocomp_package(package)

Value

Data frame with two columns: name and cyclocomp.

Arguments

package

Package name, character scalar.

See Also

Other cyclomatic complexity: cyclocomp_package_dir, cyclocomp

Examples

Run this code
## They might take a while to run
if (FALSE) {
cyclocomp_package("grDevices")
cyclocomp_package("methods")
}

Run the code above in your browser using DataLab