Assess a package code coverage using the `covr` package
Source:R/assess_covr_coverage.R
assess_covr_coverage.Rd
Assess a package code coverage using the `covr` package
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.
Examples
if (FALSE) { # \dontrun{
assess_covr_coverage(pkg_ref("riskmetric"))
} # }