To contribute changes please checkout and branch from the devel
branch.
Pull requests should be performed against the devel
branch and will be squashed and merged into this branch after approval.
master
branch sits at the latest tagged release and will be moved up to date with the devel branch once it is in a stable state for the next release.
- Create a pull request from
devel
intomaster
. - Ensure version is updated in DESCRIPTION file and the description NEWS.md
- Ensure all the CI tests are passing.
- DO NOT USE GITHUB GUI TO MERGE. The github "rebase merge" option does not use fast-forward and so will cause the master branch and devel branch to have copies of the same commits instead of the actual same commits (this is problematic).
- Instead, using the CLI do the following:
If things went correctly, this should have automatically closed the PR in github.
git merge origin/devel git push --force
- Checkout this new version of master branch and run
devtools::build()
. - Draft a new release in github and attach the
tar.gz
generated fromdevtools::build()
. - Submit the new version to CRAN using
devtools::release()
.