-
Notifications
You must be signed in to change notification settings - Fork 7
CRAN submission: How To
This page contains the information required to release a new version of this R package to CRAN. Essentially the steps to follow are all described in details here: https://r-pkgs.org/release.html. Unless specified otherwise, perform the following steps on R-latest.
-
Ensure all tests pass. Note however that tests wont be performed on CRAN.
-
Ensure all CRAN checks pass
a. Verify under the github action tab that the package builds correctly on all platforms
b. Verify locally that the package builds on R-devel using the Rsyncrosim build instance (note that this instance will need to be updated regurlarly with the latest version of R-devel).
-
Use
usethis::use_release_issue("the.version.number")
to create a GitHub issue with a more thorough checklist, and follow the checklist. -
Unless already done, make sure to increase the version number in the DESCRIPTION file.
-
Use
devtools::release()
and follow instructions. -
Ensure the current package maintainer, listed in the DESCRIPTION file, approves the email sent to the email address specified in the DESCRIPTION file.
-
Monitor any communications from CRAN.
After CRAN has accepted the realease :
- Close the release issue.
- Make a release on GitHub.