rcov: Test the coverage of a package

Description Usage Arguments Value

View source: R/rcov.r

Description

Uses the covr package (https://github.com/jimhester/covr) to test the code coverage.

Usage

1
rcov(path = getwd(), report = FALSE)

Arguments

path

[character]
If no path to a DESCRIPTION is given, the package looks for a DESCRIPTION in the current directory and up to two parent directories.

report

[logical(1)]
Use the function report to display the coverage information in a browser.

Value

Invisibly returns TRUE on success.


rdatsci/rt documentation built on Dec. 6, 2020, 5:31 p.m.