Display covr results using a standalone report
report(
x = package_coverage(),
file = file.path(tempdir(), paste0(get_package_name(x), "-report.html")),
browse = interactive()
)
a coverage dataset, defaults to running package_coverage()
.
The report filename.
whether to open a browser to view the report.
if (FALSE) {
x <- package_coverage()
report(x)
}