Skip to content

Commit 9eba243

Browse files
committed
Add nudge about deprecations to release checklist
Closes #1487
1 parent e6feb33 commit 9eba243

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

R/release.R

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@ release_checklist <- function(version, on_cran) {
8282
"",
8383
todo("`git pull`"),
8484
todo("Check [current CRAN check results]({cran_results})", on_cran),
85+
todo("
86+
Check if any deprecation processes should be advanced, as described in \\
87+
[Gradual deprecation](https://lifecycle.r-lib.org/articles/communicate.html#gradual-deprecation)",
88+
type != "patch"),
8589
todo("[Polish NEWS](https://style.tidyverse.org/news.html#news-release)", on_cran),
8690
todo("`devtools::build_readme()`", has_readme),
8791
todo("`urlchecker::url_check()`"),

tests/testthat/_snaps/release.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
Prepare for release:
1717
1818
* [ ] `git pull`
19+
* [ ] Check if any deprecation processes should be advanced, as described in [Gradual deprecation](https://lifecycle.r-lib.org/articles/communicate.html#gradual-deprecation)
1920
* [ ] `urlchecker::url_check()`
2021
* [ ] `devtools::check(remote = TRUE, manual = TRUE)`
2122
* [ ] `devtools::check_win_devel()`
@@ -83,6 +84,7 @@
8384
8485
* [ ] `git pull`
8586
* [ ] Check [current CRAN check results](https://cran.rstudio.org/web/checks/check_results_{TESTPKG}.html)
87+
* [ ] Check if any deprecation processes should be advanced, as described in [Gradual deprecation](https://lifecycle.r-lib.org/articles/communicate.html#gradual-deprecation)
8688
* [ ] [Polish NEWS](https://style.tidyverse.org/news.html#news-release)
8789
* [ ] `urlchecker::url_check()`
8890
* [ ] `devtools::check(remote = TRUE, manual = TRUE)`
@@ -120,6 +122,7 @@
120122
121123
* [ ] `git pull`
122124
* [ ] Check [current CRAN check results](https://cran.rstudio.org/web/checks/check_results_{TESTPKG}.html)
125+
* [ ] Check if any deprecation processes should be advanced, as described in [Gradual deprecation](https://lifecycle.r-lib.org/articles/communicate.html#gradual-deprecation)
123126
* [ ] [Polish NEWS](https://style.tidyverse.org/news.html#news-release)
124127
* [ ] `urlchecker::url_check()`
125128
* [ ] `devtools::check(remote = TRUE, manual = TRUE)`

0 commit comments

Comments
 (0)