report | R Documentation |
Display covr results using a standalone report
report( x = package_coverage(), file = file.path(tempdir(), paste0(get_package_name(x), "-report.html")), browse = interactive() )
x |
a coverage dataset, defaults to running |
file |
The report filename. |
browse |
whether to open a browser to view the report. |
## Not run: x <- package_coverage() report(x) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.