Test Coverage for Packages


[Up] [Top]

Documentation for package ‘covr’ version 4.0.0

Help Pages

covr-package covr: Test coverage for packages
annotate_coverage Annotate source code with line and branch coverage
as.data.frame.coverage Convert a coverage object to a data frame
badge Create a coverage badge
c.coverage Combine coverage objects
cobertura Create a Cobertura XML file
codecov Run covr on a package and upload the result to codecov.io
code_coverage Calculate coverage of code directly
colorblind_palette Colors for color vision deficiency
coverage Coverage objects
coverage_to_list Convert a coverage dataset to a list
coverage_to_markdown Convert a coverage dataset to a markdown table
coveralls Run covr on a package and upload the result to coveralls
covr covr: Test coverage for packages
covr.branch_coverage Branch coverage
covr.record_tests Record Test Traces During Coverage Execution
current_coverage Coverage measured so far in the current process
display_name The source file of each trace
environment_coverage Calculate coverage of an environment
exclusions Exclusions
file_coverage Calculate test coverage for sets of files
file_report A coverage report for a specific file
file_report_html A coverage report for a specific file
function_coverage Calculate test coverage for a specific function.
gitlab Run covr on package and create report for GitLab
in_covr Determine if code is being run in covr
lcov Create an LCOV tracefile
package_coverage Calculate test coverage for a package
percent_coverage Provide percent coverage of package
print.coverage Print a coverage object
report Display covr results using a standalone report
report_html A coverage report to include in other documents
shiny_app_coverage Calculate test coverage for a Shiny app
sonarqube Create a SonarQube Generic XML file
tally_coverage Tally coverage by line, expression, function or branch
tally_tests Tally which tests ran each line
value Retrieve the execution counts from a coverage object
with_coverage Calculate coverage of arbitrary code run against an environment
zero_coverage Provide locations of zero coverage