Skip to content

Commit 6c6744b

Browse files
committed
Better TODO for the future
1 parent 51f75cc commit 6c6744b

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

R/upkeep.R

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,13 +290,18 @@ tidy_upkeep_checklist <- function(
290290
)
291291
}
292292

293-
# if the most recent year doesn't nudge about the minimum R version,
294-
# re-introduce that todo() below
295293
minimum_r_version <- pkg_minimum_r_version()
296294
bullets <- c(
297295
bullets,
298296
"### To finish",
299297
"",
298+
# TODO: if the most recent year doesn't nudge about the minimum R version,
299+
# re-introduce that todo()
300+
#
301+
# todo(
302+
# '`usethis::use_package("R", "Depends", "{tidy_minimum_r_version()}")`',
303+
# is.na(minimum_r_version) || tidy_minimum_r_version() > minimum_r_version
304+
# ),
300305
todo(
301306
"`usethis::use_mit_license()`",
302307
grepl("MIT", desc$get_field("License"))

0 commit comments

Comments
 (0)