Run covr on a package and output the result so it is available on Azure Pipelines
azure(
...,
coverage = package_coverage(..., quiet = quiet),
filename = "coverage.xml",
quiet = TRUE
)
arguments passed to package_coverage()
an existing coverage object to submit, if NULL
,
package_coverage()
will be called with the arguments from
...
the name of the Cobertura XML file
if FALSE
, print the coverage before submission.