-
Notifications
You must be signed in to change notification settings - Fork 5
Checklist for CRAN release
Dan Kelley edited this page Jul 6, 2021
·
3 revisions
The following items (written down during the lead-up to the 1.0-5 CRAN release) should be checked by the main release developer (DK, presently) as the steps are done. Once a CRAN release is made, they should all be unchecked.
- If the netcdf file supplied by GSW-Fortran has changed, rebuild the SAAR database by visiting the
developer/create_data
directory, typingmake clean
to reset, thenmake
to build a localrda
file and then -- if you trust that rda file --make install
. - Examine
DESCRIPTION
andNEWS
carefully. InDESCRIPTION
, is the version number higher than that on CRAN, and is the the same as today's date? InNEWS
, are new items listed inNEWS
? - Examine
cran-comments.md
and think about whether things need to be updated (e.g.NUMBER
of packages). IMPORTANT it's not clear to DK whether we are meant to alter this file, or whetherdevtools::release
is meant to do that. - build and check locally
- rebuild and recheck
oce
andocedata
locally rhub::check()
-
rhub::check_for_cran()
... NOTE. 1.0-5 has a problem on some of the test machines, in finding a.svg
file from travis-ci. However, other machines report no problem, and the file can be downloaded withcurl
, so I am going to ignore this. (It's in checking theREADME.md
file withpandoc
, and a web search shows problems with this for other projects. Plus, theREADME.md
looks fine ongithub
, which is all that matters.) devtools::build_win(version="R-release")
devtools::build_win(version="R-devel")
- Think about all of the above. Be sure that no steps give errors. If there are warnings or notes, try to find a way to solve them, and start over from step 1. Give yourself time to decide if you really want to do a release. CRAN is not happy to get frequent updates, but if they say "ASAP", get a wiggle on.
- Release using
devtools::release
. Note that this does a lot of testing and evaluation. You'll need to set aside an hour at the computer, to go through the steps.