From Wickham, H. R Packages & Saskia O. blog
- Run
devtools::test()
for unit-testing - Run
devtools::document()
for doumenting - Run
devtools::check()
for local check - Run
devtools::check(manual = TRUE, remote = TRUE, incoming = TRUE)
to include URL checks - Run
devtools::spell_check()
for typos - Run
rhub::check_for_cran()
for CRAN checks - Run
devtools::check_win_*()
family of functions - Run
revdepcheck::revdep_check()
- Remember to remove the createdrevdepcheck
folder! - Push to Git and check GitHub Actions results
- Change version in
DESCRIPTION
- Update
NEWS.md
with new changes - Update
cran-comments.md
- Once everything has passed, run
devtools::submit_cran()
- Finally, draft a release on GitHub