Description
We were working towards a new version on CRAN in #71 but were waylaid by many of the NCBI functions that were no longer properly working. We will close #71 and prepare for a new release in this issue. So completeness I have kept the same list as in #71 even though I think several of the items are already complete.
From r-lib/usethis#338
Prepare for release:
-
devtools::check_win_devel()
1 Note: Maintainer: 'Julia Gustavsen [email protected]' seems to be ok based on
https://mailman.stat.ethz.ch/pipermail/r-devel/2014-March/068497.html -
rhub::check_for_cran()
:
Linux distros have the same note as above for the maintainer:
rsnps 0.3.2.9121: NOTE Platform: | Ubuntu Linux 16.04 LTS, R-release, GCC
https://builder.r-hub.io/status/rsnps_0.3.2.9121.tar.gz-e8127d069c0b4abc9657e2a1951bc3a6
rsnps 0.3.2.9121: NOTE Platform: | Fedora Linux, R-devel, clang, gfortran
https://builder.r-hub.io/status/rsnps_0.3.2.9121.tar.gz-4a669680d60c47ebb1c44d5885de7649
Windows has this error:
rsnps 0.3.2.9121: ERROR Platform: | Windows Server 2008 R2 SP1, R-devel, 32/64 bit
checking package dependencies ... ERROR
Package required but not available: 'data.table'
https://builder.r-hub.io/status/rsnps_0.3.2.9121.tar.gz-a439a712d233486da4b75e700a6bb44d
Lines 255-257:
#> Package which is only available in source form, and may need
#> These will not be installed
#> compilation of C/C++/Fortran: 'data.table'
-
Trying again with
rhub::check_for_cran(env_vars=c(R_COMPILE_AND_INSTALL_PACKAGES = "always")
as {data.table} was not compiled and thus not installed.
This command gave:
rsnps 0.3.2.9121: NOTE (as above about maintainer) Platform: | Windows Server 2008 R2 SP1, R-devel, 32/64 bit
https://builder.r-hub.io/status/rsnps_0.3.2.9121.tar.gz-a3cf0e4f3a314cdda42a83b1c48edb8b -
revdepcheck::revdep_check(num_workers = 4, timeout = as.difftime(360,units = "mins"))
- revdepcheck no longer on CRAN? (opened issue package no longer on CRAN? r-lib/revdepcheck#263), installed with:
devtools::install_github("r-lib/revdepcheck")
- opened PR updated revdep folder readme.md after running revdepcheck #107 to merge in updates to revdep folder readme to document this check.
- revdepcheck no longer on CRAN? (opened issue package no longer on CRAN? r-lib/revdepcheck#263), installed with:
-
If new failures, update
email.yml
thenrevdepcheck::revdep_email_maintainers()
-no new failures -
- opened PR updating news #111 for this.
-
update comments-cran.md
- opened PR update cran comments #112 for this.
-
update codemeta.json using
codemetar::write_codemeta(".")
(from within project folder on dev branch)- opened PR updating codemeta for issue #102 #108 for this.
-
update LICENSE to reflect new maintainers
- opened PR update to correct year #109 for this.
-
update COC to include only absolute not relative links
- COC already only contains absolute links, but fixed a url in PR update COC #110
Perform release:
- Bump version (in DESCRIPTION and NEWS) PR updated version in DESCRIPTION to match the version in NEWS.MD #113
-
Create RC branch (for bigger releases)opened PR Merge release candidate dev into master before submitting to CRAN #114 to merge dev into master- asked for review from Scott (received and very helpful). Opened PRs [IN PROGRESS] resolution of comments from Scott in PR #114. #116 and SR [IN PROGRESS] resolution of comments from Scott in PR #114 (Sina) #118 to resolve the problems found.
-
devtools::check_win_devel()
(again!) -
devtools::submit_cran()
devtools::release()
-
(for https://docs.ropensci.org/rsnps/ it is automatically done )pkgdown::build_site()
- Approve email
Wait for CRAN...
- Tag release
-
Merge RC back to master branch( merging dev into master before submitting to CRAN) - Bump dev version
- Write blog post
- Tweet
- Add link to blog post in pkgdown news menu
Template from r-lib/usethis#338