assess_covr_coverage {riskmetric}R Documentation

Assess a package code coverage using the 'covr' package

Description

Assess a package code coverage using the 'covr' package

Usage

assess_covr_coverage(x, ...)

Arguments

x

a pkg_ref package reference object

...

additional arguments passed on to S3 methods, rarely used

Value

a pkg_metric containing a list containing fields 'filecoverage' and 'totalcoverage' containing a named numeric vector of file unit test coverage and a singular numeric value representing overall test coverage respectively.

See Also

metric_score.pkg_metric_covr_coverage

Examples

## Not run: 
assess_covr_coverage(pkg_ref("riskmetric"))

## End(Not run)

[Package riskmetric version 0.2.4 Index]