covr (version 2.1.0)

report: Display covr results using a standalone report

Description

Display covr results using a standalone report

Usage

report(x, ...)
"report"(x, file = file.path(tempdir(), paste0(get_package_name(x), "-report.html")), browse = interactive(), ...)

Arguments

x
a coverage dataset
...
Additional arguments passed to methods
file
The report filename.
browse
whether to open a browser to veiew the report.

Examples

Run this code
## Not run: 
# x <- package_coverage()
# report(x)
# ## End(Not run)

Run the code above in your browser using DataLab