Closed jsakaluk closed 8 months ago
Check that all exported functions have @return and @examples
Check that Authors@R: includes a copyright holder (role 'cph')
Review https://github.com/DavisVaughan/extrachecks
urlchecker::url_check()
rcmdcheck::rcmdcheck(args = c("--no-manual", "--as-cran"))
and devtools::check(remote = TRUE, manual = TRUE)
do not return any complaints about URLs.devtools::check(remote = TRUE, manual = TRUE)
R CMD check results: Duration: 1m 16.2s
❯ checking CRAN incoming feasibility ... [5s/19s] NOTE Maintainer: ‘John Sakaluk jksakaluk@gmail.com’
New submission
0 errors ✔ | 0 warnings ✔ | 1 note ✖
Ran urlchecker::url_check()
and received zero complaints.
On Mac and Windows, ran:
devtools::check()
devtools::check(remote = TRUE, manual = TRUE)
devtools::check(args = c("--no-manual", "--as-cran"))
All checks passed. Only devtools::check(remote = TRUE, manual = TRUE)
returned an unimportant complaint (i.e., note) - see image below:
We are one CRAN :) https://cran.r-project.org/web/packages/dySEM/index.html
First release:
usethis::use_cran_comments()
Title:
andDescription:
@return
and@examples
Authors@R:
includes a copyright holder (role 'cph')Prepare for release:
git pull
devtools::build_readme()
urlchecker::url_check()
devtools::check(remote = TRUE, manual = TRUE)
devtools::check_win_devel()
rhub::check_for_cran()
git push
Submit to CRAN:
usethis::use_version('major')
devtools::submit_cran()
Wait for CRAN...
git push
usethis::use_github_release()
usethis::use_dev_version()
git push