Closed nevrome closed 3 years ago
notes:
rhub::check(
platform="windows-x86_64-devel",
env_vars=c(R_COMPILE_AND_INSTALL_PACKAGES = "always")
)
in order to avoid error(s): Error in loadNamespace(name) : there is no package called 'utf8'
(see https://github.com/r-hub/rhub/issues/367#issuecomment-621757715)
IMHO CRAN submission is permanently cancelled, now that https://ropensci.r-universe.dev/ exists.
But we should absolutely add the install command
install.packages("c14bazAAR", repos = c(ropensci = "https://ropensci.r-universe.dev", CRAN = "https://cloud.r-project.org"))
to the README (it should come with binaries) and release 1.3.0.
Thoughts, @dirkseidensticker?
need to dig into this a bit more, but I guess your are right that https://ropensci.r-universe.dev/ is a good way to go forward 👍
Alright! This new setup is taking shape in my mind. We should make sure the master branch is always in perfect shape - probably by not pushing to it directly anymore for everything but very minor changes.
We should also adopt semantic versioning which will cause a much faster turnover of versions. Maybe we should increment the version number with each commit. Can be done with a git hook. I already use this for some projects.
The CRAN submission TODO-List should go into the README in the dev section
Important info in: https://r-pkgs.org/release.html, https://cran.r-project.org/doc/manuals/r-devel/R-exts.html
Pre-submission
DESCRIPTION
is up-to-date with the latest version number and database listREADME.md
is up-to-dateNews.md
is up-to-date and includes the latest changescran-comments.md
)devtools::check()
)devtools::check_rhub(email = ...)
)devtools::check_win_release(email = ....)
+devtools::check_win_devel(email = ....)
)cran-comments.md
is up-to-date and fits to the current submission processdevtools::spell_check()
ran and did yield not only false-positivescodemeta.json
is up-to-date (can be updated withcodemetar::write_codemeta()
)inst/CITATION
is up-to-datedevtools::revdep_check()
)Submission The actual submission should be done by the package maintainer with
devtools::release()
. In case of a resubmissiondevtools::submit_cran()
spares you all the questions indevtools::release()
.Post-submission
Version
field in theDESCRIPTION
to indicate that this is a development versionNEWS.md