Document functions:
devtools::document()Build README.md from README.Rmd:
devtools::build_readme()Run all tests:
devtools::test()Check package:
devtools::check()Install package locally:
devtools::install()Build source tarball:
devtools::build()Update version:
Edit DESCRIPTION file, then update NEWS.md.
Tag release:
git tag -a vX.Y.Z -m "Release vX.Y.Z"
git push origin vX.Y.ZCheck before commit:
devtools::document(); devtools::test(); devtools::check(); devtools::build_readme()CRAN submission (summary):
- Update version, NEWS.md, cran-comments.md
devtools::check(cran = TRUE)rhub::check_for_cran()devtools::spell_check()urlchecker::url_check()devtools::build()devtools::submit_cran()
Help:
?function_nameWebsite docs:
altdoc::render_docs()Install from GitHub:
remotes::install_github("lorenzoFabbri/orcidtr")See README.md for more details.