Before a release, do the following:
- Set date in DESCRIPTION
- Make sure NEWS is up to date
- make sure tests pass
- review documentation, especially Node
- review vignettes (especially if png need updating)
- Check build
- Commit to git, make sure travis and appveyor pass
- make sure we have adequate coverage
- Make sure devel passes, by running devtools::build_win(version = "R-devel")
- Make sure r-oldrel passes (easiest is to run it on local windows) -> if any of these fail, go back to 6.!
- check reverse dependencies by running devtools::revdep_check()
- update cran-comments.md
- merge into master and push
- create release on github in master, tag it as pre-release
- submit it to cran by calling devtools::release()
- once accepted by CRAN, remove the pre-release flag on github