The steps of a regular CRAN release of the AMR package, as followed for v3.1.0 (October 2026). Replace X.Y.Z with the new version number. Copy this list into an issue or a note per release, or tick the boxes in a local copy.
1. Preparation (on the development version)
2. Version and documentation
3. Checks
4. Submission
5. After acceptance by CRAN
The pre-commit hook in .github/prehooks/ sets the version to X.Y.Z.9NNN and rewrites line 1 of NEWS.md on every commit to main. The release commit must therefore skip the hooks.
awk'NR==1 {next} /^# AMR /{exit} 1' NEWS.md > notes.mdgh release create vX.Y.Z --target main --title"AMR vX.Y.Z"--notes-file notes.md --latestrm notes.md