- Check Release version in DESCRIPTION
- Check “devtools::check()”
- Check "devtools::test()" [filter="smk-" ….]
- Regenerate site documentation using “devtools::build_site()”
- . . .
- Ensure all changes are committed to the “master” branch of the GitHub repository
- Have all GitHub pull requests been accepted / rejected / delayed.
- Are all GitHub issues resolved.
- Set release version in “DESCRIPTION” file
- DESCRIPTION file is in the root directory of the R package.
- “Version” is specified on line 3 of the DESCRIPTION file.
- Check package versions in DESCRIPTION
- Check Depend, Import, and Suggests
- Also check RoxygenNote
- Commit to GitHub changes to DESCRIPTION
- Verify package
- devtools::check()
- Command “R -q -e ‘devtools::check()’”, in root of the R package
- results should be “0 errors”, “0 warnings” and “0 notes”
- Documentation regenerate
- devtools::document()
- Command “R -q -e ‘devtools::document()’”, in root of the R package
- devtools::build_site()
- Command “R -q -e ‘devtools::build_site()’”, in root of the R package
- Run packages tests
- Testthat tests
- devtools::test()
- Command “R -q -e ‘devtools::test()’”, in root of the R package
- Check vignettes content
- Build vignettes
- devtools::build_vignettes()
- Command “R -q -e ‘devtools::build_vignettes()’”, in root of the R package
- Commit to GitHub changes in “docs” directory
- Check if other files have been changed, for example ".gitignore”, “.Rbuildignore”, … then commit changes to GitHub
- GitHub Release
- Browse to https://github.com/lifecycle-project/ds-upload
- Ensure you are “write access” to repository
- Click on the “Releases” header, on the right side (middle) page.
- Click on the “Draft a new release” button, on the right(ish) side (top) page.
- Enter version as “Release title”
- Enter a “Describe this release”
- Via “Choose a tag” create a tag with version
- Press “Publish release” button
- Announce Availability of Release
- Slack: lifecycle-project #general (?)
- DataSHIELD Forum: Releases category
- https://datashield.discourse.group/c/releases/