metric_score.pkg_metric_covr_coverage {riskmetric} | R Documentation |
Score a package for unit test coverage
Description
Returns the overall test coverage from a covr coverage report
Usage
## S3 method for class 'pkg_metric_covr_coverage'
metric_score(x, ...)
Arguments
x |
a |
... |
additional arguments unused |
Value
A numeric
Examples
## Not run: metric_score(assess_covr_coverage(pkg_ref("riskmetric")))
[Package riskmetric version 0.2.4 Index]