R: Provide percent coverage of package

percent_coverage {covr} | R 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)`.

[Package covr version 3.0.1 Index]