[x] If not a new package, make sure any warnings/errors in CRAN check results page are fixed
[x] Create RC branch rc-v1.5.0
[x] Change the DESCRIPTION and NEWS on this branch to change the version number to the desired version for CRAN
[x] Perform Shiny final test pass on rc-v1.5.0
[x] Clean your package directory to remove any extraneous files, including ones that are git-ignored. (Warning, this will delete any unsaved buffers in RStudio! Also, be sure to close RStudio before taking this step!) git clean -xdf .
[x] Build your package. I (jcheng) personally do it from the Mac command line like this:
PATH=$PATH:/Applications/RStudio.app/Contents/MacOS/pandoc R CMD build [pkgdir]
[x] Do a sanity check by installing/testing the built package.
rc-v1.5.0
rc-v1.5.0
git clean -xdf .
PATH=$PATH:/Applications/RStudio.app/Contents/MacOS/pandoc R CMD build [pkgdir]
R CMD check --as-cran pkg_version.tar.gz
both locally and on win-builder. You can also use https://r-hub.github.io/rhub/.