diff --git a/R/upkeep.R b/R/upkeep.R index 2901a31b2..a60259df9 100644 --- a/R/upkeep.R +++ b/R/upkeep.R @@ -279,8 +279,8 @@ tidy_upkeep_checklist <- function( ), todo( ' - `knitr::convert_chunk_header(type = "yaml")` to convert in-header \\ - chunk options to the newer in-body style used by Quarto + Convert in-header chunk options to the newer in-body style used by Quarto: + `fs::dir_ls("vignettes", glob = "*.Rmd") |> purrr::walk(~ knitr::convert_chunk_header(.x, output = identity, type = "yaml"))` ' ), todo( diff --git a/tests/testthat/_snaps/upkeep.md b/tests/testthat/_snaps/upkeep.md index ae034a61d..ed7181261 100644 --- a/tests/testthat/_snaps/upkeep.md +++ b/tests/testthat/_snaps/upkeep.md @@ -57,7 +57,8 @@ * [ ] Switch to the base anonymous function syntax (`\(x)`) * [ ] Add ROR for Posit in `DESCRIPTION`: `person("Posit Software, PBC", role = c("cph", "fnd"), comment = c(ROR = "03wc8by49"))` - * [ ] `knitr::convert_chunk_header(type = "yaml")` to convert in-header chunk options to the newer in-body style used by Quarto + * [ ] Convert in-header chunk options to the newer in-body style used by Quarto: + `fs::dir_ls("vignettes", glob = "*.Rmd") |> purrr::walk(~ knitr::convert_chunk_header(.x, output = identity, type = "yaml"))` * [ ] Switch to `expect_snapshot(error = TRUE)` instead of calling `expect_error()` without specifying `class =` ### To finish @@ -102,7 +103,8 @@ * [ ] Switch to the base anonymous function syntax (`\(x)`) * [ ] Add ROR for Posit in `DESCRIPTION`: `person("Posit Software, PBC", role = c("cph", "fnd"), comment = c(ROR = "03wc8by49"))` - * [ ] `knitr::convert_chunk_header(type = "yaml")` to convert in-header chunk options to the newer in-body style used by Quarto + * [ ] Convert in-header chunk options to the newer in-body style used by Quarto: + `fs::dir_ls("vignettes", glob = "*.Rmd") |> purrr::walk(~ knitr::convert_chunk_header(.x, output = identity, type = "yaml"))` * [ ] Switch to `expect_snapshot(error = TRUE)` instead of calling `expect_error()` without specifying `class =` ### To finish