Releasing Ravel
Source:RELEASING.md
This file is the release path for GitHub, R-universe, and CRAN.
Pre-release checks
From the package root:
devtools::document()
devtools::test()
lintr::lint_package()
rcmdcheck::rcmdcheck(args = c("--no-manual", "--as-cran"))Update these files before a public release:
NEWS.mdREADME.mdcran-comments.md
R-universe
R-universe’s official setup documentation says you need:
- A GitHub repository named
<username>.r-universe.dev - A
packages.jsonregistry in that repository - The R-universe GitHub app installed on the same account
For this project, the target registry repository is:
https://github.com/msaule/msaule.r-universe.dev
Minimal packages.json:
After the first successful build, add the install instructions and badges from the R-universe dashboard to README.md.
CRAN
Before a CRAN submission:
- Confirm
R CMD check --as-cranis clean locally. - Re-read the CRAN Repository Policy and submission checklist.
- Make sure
DESCRIPTIONandAuthors@Rare accurate and complete. - Update
cran-comments.mdwith current platforms and check results. - Submit with
devtools::release()when ready.