Calculate the total percent coverage from a coverage result object.

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