A coverage report for a specific file
file_report(
x = package_coverage(),
file = NULL,
out_file = file.path(tempdir(), paste0(get_package_name(x), "-file-report.html")),
browse = interactive()
)
a coverage dataset, defaults to running package_coverage()
.
The file to report on, if NULL
, use the first file in the
coverage output.
The output file
whether to open a browser to view the report.