Learn R Programming

riskmetric (version 0.2.5)

metric_score.pkg_metric_covr_coverage: Score a package for unit test coverage

Description

Returns the overall test coverage from a covr coverage report

Usage

# S3 method for pkg_metric_covr_coverage
metric_score(x, ...)

Value

A numeric

Arguments

x

a pkg_metric_covr_coverage packge metric object

...

additional arguments unused

Examples

Run this code
if (FALSE) metric_score(assess_covr_coverage(pkg_ref("riskmetric")))

Run the code above in your browser using DataLab