Create an appropriately named issue (e.g., "Release package version version.").
Copy-paste this file into the issue text to provide the checklist functionality.
After a commit directly pursuant to a checkbox item, uncheck all checkboxes below it.
After any other commit to master branch, uncheck all boxes from the "master branch" section down.
After any other commit to *release* branch, uncheck boxes from the "Release branch" section down.
Close the issue after all boxes are checked.
master branch
[x] DESCRIPTION: Package's CRAN dependencies require the latest CRAN versions (unless you are certain that they don't).
[x] DESCRIPTION: Package's dependencies that are shipped with R (base, datasets, grDevices, methods, splines, stats4, tools, utils, compiler, graphics, grid, parallel, stats, tcltk, translations) do not specify a version.
[x] All tickets associated with the release's milestone have been resolved.
[x] Roxygen has been run on the package since last commit to code, documentation, or DESCRIPTION.
[x] Relevant tutorials run satisfactorily.
[x] inst/NEWS.Rd: file is up to date: none of the commits since the last commit to explicitly mention updating the NEWS file are newsworthy.
[x] LICENSE: license refers to the correct package.
[x] LICENSE: affiliations are up to date.
[x] LICENSE: copyright year range is correct.
[x] All files that should have them have copyright headers. Generally, it never hurts to rerun addcopyheaders to ensure this.
Release branch
[x] Release branch has had the latest master merged into it. (git checkout *release*; git merge master)
[x] .travis.yml: Travis CI tests against CRAN and not repositories (unless releasing simultaneously).
[x] .travis.yml: warnings_are_errors: true is set (or warnings_are_errors is unset, since true is the default).
[x] DESCRIPTION: Release branch's version number does not have commit number attached to it.
[x] DESCRIPTION: Date is today.
[x] CITATION: update_CITATION has been run after installing all the mentioned packages from the release branch.
[x] All files in the release branch have been committed and pushed to GitHub.
[x] *pkg*.tar.gz: the candidate submission file is from the latest version of the release branch.
[x] *pkg*.tar.gz: R CMD check passes with ENABLE_statnet_TESTS=yes environment variable and--run-donttest.
[x] *pkg*.tar.gz: R CMD check passes with --as-cran option without WARNINGs.
Checklist before submitting to CRAN
Directions for use
master
branch, uncheck all boxes from the "master
branch" section down.*release*
branch, uncheck boxes from the "Release branch" section down.master
branchDESCRIPTION
: Package's CRAN dependencies require the latest CRAN versions (unless you are certain that they don't).DESCRIPTION
: Package's dependencies that are shipped with R (base
,datasets
,grDevices
,methods
,splines
,stats4
,tools
,utils
,compiler
,graphics
,grid
,parallel
,stats
,tcltk
,translations
) do not specify a version.DESCRIPTION
.inst/NEWS.Rd
: file is up to date: none of the commits since the last commit to explicitly mention updating theNEWS
file are newsworthy.LICENSE
: license refers to the correct package.LICENSE
: affiliations are up to date.LICENSE
: copyright year range is correct.addcopyheaders
to ensure this.Release branch
master
merged into it. (git checkout *release*; git merge master
).travis.yml
: Travis CI tests against CRAN and not repositories (unless releasing simultaneously)..travis.yml
:warnings_are_errors: true
is set (orwarnings_are_errors
is unset, sincetrue
is the default).DESCRIPTION
: Release branch's version number does not have commit number attached to it.DESCRIPTION
: Date is today.CITATION
:update_CITATION
has been run after installing all the mentioned packages from the release branch.*pkg*.tar.gz
: the candidate submission file is from the latest version of the release branch.*pkg*.tar.gz
:R CMD check
passes withENABLE_statnet_TESTS=yes
environment variable and--run-donttest
.*pkg*.tar.gz
:R CMD check
passes with--as-cran
option withoutWARNING
s.*pkg*.tar.gz
:R CMD check
passes Win-Builder (https://win-builder.r-project.org).After release