formalPackageCoverage: Formal coverage of package

Description Usage Arguments Details Value

View source: R/formalPackageCoverage.R

Description

Formal coverage of package

Usage

1
formalPackageCoverage(pkg = ".", halt = FALSE)

Arguments

pkg

Top level of package.

halt

If TRUE, errors if any formals are unused.

Details

N.B. The exported functions in the NAMESPACE file must be available in the namespace of the environment in which the function is run. That is, if you make an changes to your exported functions, you must have build and installed the package to be tested prior to running this function.

Value

If no formals uncovered, returns NULL. Otherwise, a named list: each list element is a function from the package namespace and each value of the list is the unused argument.


HughParsonage/formalCoverage documentation built on May 14, 2019, 8:19 a.m.