percent_coverage: Provide percent coverage of package

View source: R/summary_functions.R

percent_coverageR Documentation

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).


r-lib/covr documentation built on April 9, 2024, 2:14 p.m.