Test Coverage for Packages


[Up] [Top]

Documentation for package ‘covr’ version 3.5.1

Help Pages

covr-package covr: Test coverage for packages
azure Run covr on a package and output the result so it is available on Azure Pipelines
codecov Run covr on a package and upload the result to codecov.io
code_coverage Calculate coverage of code directly
coverage_to_list Convert a coverage dataset to a list
coveralls Run covr on a package and upload the result to coveralls
covr covr: Test coverage for packages
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
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
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
tally_coverage Tally coverage by line or expression
to_cobertura Create a Cobertura XML file
to_sonarqube Create a SonarQube Generic XML file for test coverage according to https://docs.sonarqube.org/latest/analysis/generic-test/ Based on cobertura.R
value Retrieve the value from an object
zero_coverage Provide locations of zero coverage