Learn R Programming

covr (version 3.6.4)

percent_coverage: Provide percent coverage of package

Description

Calculate the total percent coverage from a coverage result object.

Usage

percent_coverage(x, ...)

Value

The total percentage as a numeric(1).

Arguments

x

the coverage object returned from package_coverage()

...

additional arguments passed to tally_coverage()