Install code coverage with usethis::use_coverage(type = "codecov")
,
DT
package for covr::report()
, and rdev GitHub action test-coverage.yaml
.
Arguments
- prompt
If TRUE, prompt before writing
renv.lock
, passed torenv::snapshot()
.
Details
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)