Releasing to CRAN-checklist
Consider avoiding ren
when publishing to CRAN. THis has
caused so much trouble, and really is only necessary on collaborative
data projects to streamline the analyses.
THe checklist below really is the same no matter if you are updating or publishing first version.
devtools::check(
document = TRUE,
manual = TRUE,
remote = TRUE,
incoming = TRUE
)
Copy results to cran-comments.md
# If not already setup, then initialise RHUB with the two following lines and follow instructions in the console.
# rhub::rhub_setup()
# rhub::rhub_doctor() # THis is also the command for trouble shooting
rhub::rhub_check(platforms = c(
"linux",
"macos",
"macos-arm64",
"windows"))
Let it run. Takes less than an hour. Check results in GitHub.
devtools::release()
Follow instruction on e-mail to confirm upload
usethis::use_github_release()