Skip to content

r-package-development: add a test coverage section - #102

Draft
jimhester wants to merge 2 commits into
posit-dev:mainfrom
jimhester:covr-test-coverage
Draft

jimhester wants to merge 2 commits into
posit-dev:mainfrom
jimhester:covr-test-coverage

Conversation

@jimhester

Copy link
Copy Markdown

Adds a short Test coverage section to the r-package-development skill.

  • devtools::test_coverage() and devtools::test_coverage_active_file() work with current covr and devtools (checked with devtools 2.5.2).
  • print(missing = TRUE), annotate_coverage(), diff_coverage() and branch coverage are new in covr 4.0.0.

Draft until covr 4.0.0 is on CRAN, so agents on older covr don't hit missing functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant