Updating the package
Run
devtools::test().Run
devtools::check().Run
use_version()then select the new version, do not commit.Update
NEWS.md.-
If you are on a branch:
Commit
NEWS.mdandDESCRIPTION.Merge branch into
main. Create a merge commit, don’t squash, don’t fast-forward. Amend the merge commit’s message if an automatic one was used.
-
If this is a small single-commit patch:
- Commit everything directly on
main.
- Commit everything directly on
Push.
-
Set and push a version tag: