Skip to content

Instantly share code, notes, and snippets.

@nanxstats
Last active May 4, 2021 17:51
Show Gist options
  • Save nanxstats/67118d4f04e21ef1947df019f6d4318b to your computer and use it in GitHub Desktop.
Save nanxstats/67118d4f04e21ef1947df019f6d4318b to your computer and use it in GitHub Desktop.
R package release checklist from usethis::use_release_issue but it's just copy-pastable Markdown

First release:

Prepare for release:

  • Check current CRAN check results
  • Polish NEWS
  • devtools::build_readme()
  • urlchecker::url_check()
  • devtools::check(remote = TRUE, manual = TRUE)
  • devtools::check_win_devel()
  • rhub::check_for_cran()
  • rhub::check(platform = 'ubuntu-rchk')
  • rhub::check_with_sanitizers()
  • revdepcheck::revdep_check(num_workers = 4)
  • Update cran-comments.md
  • Review pkgdown reference index for, e.g., missing topics
  • Draft blog post

Submit to CRAN:

  • usethis::use_version()
  • devtools::submit_cran()
  • Approve email

Wait for CRAN...

  • Accepted 🎉
  • usethis::use_github_release()
  • usethis::use_news_md()
  • usethis::use_dev_version()
  • Update install instructions in README
  • Finish blog post
  • Tweet
  • Add link to blog post in pkgdown news menu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment