use_codecov | R Documentation |
Install code coverage with usethis::use_coverage(type = "codecov")
,
DT
package for covr::report()
, and rdev GitHub action test-coverage.yaml
.
use_codecov(prompt = FALSE)
prompt |
If TRUE, prompt before writing |
Because use_rdev_package()
, use_analysis_package()
and use_codecov()
all modify README.Rmd,
use_codecov()
must be run last or its changes will be overwritten. use_codecov()
is not run
in use_rdev_package()
.
Set option rdev.codecov
to FALSE
to skip installation of codecov.io and test-coverage.yaml
:
options(rdev.codecov = FALSE)
GitHub Actions can be disabled by setting rdev.github.actions
to
FALSE
: options(rdev.github.actions = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.