Skip to content

Commit 2ebd72b

Browse files
committed
Use new helpers re: RStudio-ness in upkeep issue
1 parent bee2725 commit 2ebd72b

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed

NAMESPACE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ export(use_tidy_labels)
192192
export(use_tidy_style)
193193
export(use_tidy_support)
194194
export(use_tidy_thanks)
195+
export(use_tidy_upkeep_issue)
195196
export(use_travis)
196197
export(use_travis_badge)
197198
export(use_tutorial)

R/tidy-upkeep.R

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ use_tidy_upkeep_issue <- function(year = NULL) {
2929

3030
upkeep_checklist <- function(year = NULL) {
3131
year <- year %||% 2000
32+
is_rstudio_funded <- is_rstudio_funded()
33+
is_in_rstudio_org <- is_in_rstudio_org()
3234
bullets <- c()
3335

3436
if (year <= 2000) {
@@ -80,6 +82,9 @@ upkeep_checklist <- function(year = NULL) {
8082
todo("
8183
Use lifecycle instead of artisanal deprecation messages, as described \\
8284
in [Communicate lifecycle changes in your functions](https://lifecycle.r-lib.org/articles/communicate.html)"),
85+
todo("
86+
Add RStudio to DESCRIPTION as funder, if appropriate",
87+
!is_rstudio_funded && is_in_rstudio_org),
8388
""
8489
)
8590
}

man/tidyverse.Rd

Lines changed: 10 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)