Learn R Programming

covr (version 2.2.2)

percent_coverage: Provide percent coverage of package

Description

Calculate the total percent coverage from a coverage result object.

Usage

percent_coverage(x, ...)

Arguments

x

the coverage object returned from package_coverage

...

additional arguments passed to tally_coverage

Value

The total percentage as a numeric(1).