Skip to content

Standard issue "template" for releasing a package #338

Closed

Description

@hadley

For now, this issue is just a place to dump ideas as they occur to me. No need to implement yet.

Prepare for release:

* [ ] `devtools::check_win_devel()`
* [ ] `rhub::check_for_cran()`
* [ ] `revdepcheck::revdep_check(num_workers = 4)`
* [ ] [Polish NEWS](http://style.tidyverse.org/news.html#before-release)
* [ ] If new failures, update `email.yml` then `revdepcheck::revdep_email_maintainers()`

Perform release:

* [ ] Create RC branch (for bigger releases)
* [ ] Bump version (in DESCRIPTION and NEWS)
* [ ] `devtools::check_win_devel()` (again!)
* [ ] `devtools::submit_cran()`
* [ ] `pkgdown::build_site()`
* [ ] Approve email

Wait for CRAN...

* [ ] Tag release
* [ ] Merge RC back to master branch
* [ ] Bump dev version
* [ ] Write blog post
* [ ] Tweet
* [ ] Add link to blog post in pkgdown news menu

Template from <https://github.com/r-lib/usethis/issues/338>

Activity

  1. hadley commented on Apr 24, 2018

    @hadley
    MemberAuthor

    Maybe with variation for first release?

    * [ ] Check that description is informative
    * [ ] Check licensing of included files
    
  2. reopened this on Apr 24, 2018
  3. krlmlr commented on Jul 4, 2018

    @krlmlr
    Member

    Would it work to add "Write blog post" after "Polish news", and replace current "Write blog post" with "Refine blog post"? Some bugs (and clumsy APIs) are revealed only when writing the blog post.

  4. krlmlr commented on Jul 8, 2018

    @krlmlr
    Member

    Do we need to add "Run devtools::document()" just in case? The pkgdown::build_site() call does take care of it, but that's too late.

  5. krlmlr commented on Jul 8, 2018

    @krlmlr
    Member

    Also perhaps: "Verify test coverage". Reduced coverage can be a hint for a subtle bug.

  6. maelle commented on Aug 30, 2018

    @maelle
    Contributor

    I'd suggest adding an item about making a PR to https://github.com/rweekly/rweekly.org with a link to the release notes (we have a section for new releases and one for new packages). 😺

  7. batpigandme commented on Sep 17, 2018

    @batpigandme
    Contributor

    I don't know if it'd be worth adding a dependency to gh, but here's a helper function for filing this directly form R:

    gh::gh("POST /repos/:owner/:repo/issues", owner = "REPO OWNER HERE", repo = "REPO NAME HERE", title = "Prepare for release", 
       body = "Prepare for release:
    
    * [ ] `devtools::check_win_devel()`
    * [ ] `rhub::check_for_cran()`
    * [ ] `revdepcheck::revdep_check(num_workers = 4)`
    * [ ] [Edit NEWS / Release notes](http://style.tidyverse.org/news.html#before-release)
    * [ ] If new failures, update `email.yml` then `revdepcheck::revdep_email_maintainers()`
    
    Perform release:
    
    * [ ] Create RC branch (for bigger releases)
    * [ ] Bump version (in DESCRIPTION and NEWS)
    * [ ] `devtools::check_win_devel()` (again!)
    * [ ] `devtools::submit_cran()`
    * [ ] Approve email
    
    Wait for CRAN...
    
    * [ ] `pkgdown::build_site()`
    * [ ] Tag release
    * [ ] Merge RC back to master branch
    * [ ] Bump dev version
    * [ ] Write blog post
    * [ ] Tweet
    * [ ] Add link to blog post in pkgdown news menu
    
    Template from <https://github.com/r-lib/usethis/issues/338>")

    Tested here: batpigandme/palaver#2

  8. jennybc commented on Sep 17, 2018

    @jennybc
    Member

    The second (or a third) pkgdown::build_site() should happen after CRAN acceptance, so that the associated heading in NEWS picks up the release date vs. "unreleased".

  9. gaborcsardi commented on Oct 5, 2018

    @gaborcsardi
    Member

    @hadley If the package has compiled code, then I suggest these as well:

    * [ ] `rhub::check(platform = "solaris-x86-patched")`
    * [ ] `rhub::check(platform = "ubuntu-rchk")`
    
  10. hadley commented on Oct 5, 2018

    @hadley
    MemberAuthor

    @gaborcsardi could we make rhub::check_for_cran() do that automatically?

  11. gaborcsardi commented on Oct 5, 2018

    @gaborcsardi
    Member

    We could, but you don't really need Solaris to get on CRAN, and it fails often, because of missing system libs. rchk has many false positives in my experience.

  12. lionel- commented on Oct 25, 2018

    @lionel-
    Member

    @gaborcsardi @hadley Also for packages with native code: rhub::check_with_sanitizers()

  13. hadley commented on Oct 25, 2018

    @hadley
    MemberAuthor

    Maybe we should add a check_compiled() to rhub?

  14. gaborcsardi commented on Oct 25, 2018

    @gaborcsardi
    Member

    Well, we can just add them to check_for_cran(). I can relatively easily update it to send a single email after all checks are done.

  15. topepo commented on Nov 15, 2018

    @topepo
    Member

    Maybe add "Check for recent CRAN policy changes"?

  16. added
    feature
    git
    docs 💡
    and removed
    docs 💡
    on Nov 24, 2018
  17. added a commit that references this issue on Nov 29, 2018
    010f947
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featuregit

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions