From 8fbd4ed6fd99513a7f6795d0ef795f53d9264229 Mon Sep 17 00:00:00 2001 From: Hadley Wickham Date: Mon, 30 Oct 2023 14:16:43 -0500 Subject: [PATCH] Update snapshots --- tests/testthat/_snaps/upkeep.md | 58 +++++++++++++-------------------- 1 file changed, 22 insertions(+), 36 deletions(-) diff --git a/tests/testthat/_snaps/upkeep.md b/tests/testthat/_snaps/upkeep.md index 476ef8dfb..3bc7a9e1f 100644 --- a/tests/testthat/_snaps/upkeep.md +++ b/tests/testthat/_snaps/upkeep.md @@ -3,7 +3,7 @@ Code writeLines(tidy_upkeep_checklist(posit_pkg = TRUE, posit_person_ok = FALSE)) Output - Pre-history + ### Pre-history * [ ] `usethis::use_readme_rmd()` * [ ] `usethis::use_roxygen_md()` @@ -11,63 +11,49 @@ * [ ] `usethis::use_pkgdown_github_pages()` * [ ] `usethis::use_tidy_github_labels()` * [ ] `usethis::use_tidy_style()` - * [ ] `usethis::use_tidy_description()` * [ ] `urlchecker::url_check()` - 2020 + ### 2020 * [ ] `usethis::use_package_doc()` - Consider letting usethis manage your `@importFrom` directives here. - `usethis::use_import_from()` is handy for this. - * [ ] `usethis::use_testthat(3)` and upgrade to 3e, [testthat 3e vignette](https://testthat.r-lib.org/articles/third-edition.html) - * [ ] Align the names of `R/` files and `test/` files for workflow happiness. - The docs for `usethis::use_r()` include a helpful script. - `usethis::rename_files()` may be be useful. + * [ ] `usethis::use_testthat(3)` + * [ ] Align the names of `R/` files and `test/` files - 2021 + ### 2021 - * [ ] `usethis::use_tidy_dependencies()` - * [ ] `usethis::use_tidy_github_actions()` and update artisanal actions to use `setup-r-dependencies` * [ ] Remove check environments section from `cran-comments.md` - * [ ] Bump required R version in DESCRIPTION to 3.6 - * [ ] Use lifecycle instead of artisanal deprecation messages, as described in [Communicate lifecycle changes in your functions](https://lifecycle.r-lib.org/articles/communicate.html) - * [ ] Make sure RStudio appears in `Authors@R` of DESCRIPTION like so, if appropriate: - `person("RStudio", role = c("cph", "fnd"))` + * [ ] Use lifecycle instead of artisanal deprecation messages - 2022 + ### 2022 - * [ ] `usethis::use_tidy_coc()` * [ ] Handle and close any still-open `master` --> `main` issues - * [ ] Update README badges, instructions in [r-lib/usethis#1594](https://github.com/r-lib/usethis/issues/1594) - * [ ] Update errors to rlang 1.0.0. Helpful guides: - - - + * [ ] [Update README badges](https://github.com/r-lib/usethis/issues/1594) * [ ] Update pkgdown site using instructions at - * [ ] Ensure pkgdown `development` is `mode: auto` in pkgdown config - * [ ] Re-publish released site; see [How to update a released site](https://pkgdown.r-lib.org/dev/articles/how-to-update-released-site.html) * [ ] Update lifecycle badges with more accessible SVGs: `usethis::use_lifecycle()` - 2023 - - Necessary: + ### 2023 * [ ] Update email addresses *@rstudio.com -> *@posit.co - * [ ] Update copyright holder in DESCRIPTION: `person(given = "Posit Software, PBC", role = c("cph", "fnd"))` + * [ ] Update copyright holder in DESCRIPTION: `person("Posit Software, PBC", role = c("cph", "fnd"))` * [ ] `Run devtools::document()` to re-generate package-level help topic with DESCRIPTION changes * [ ] Double check license file uses '[package] authors' as copyright holder. Run `use_mit_license()` * [ ] Update logo (https://github.com/rstudio/hex-stickers); run `use_tidy_logo()` * [ ] `usethis::use_tidy_coc()` - * [ ] `usethis::use_tidy_github_actions()` - - Optional: - - * [ ] Review 2022 checklist to see if you completed the pkgdown updates - * [ ] Prefer `pak::pak("org/pkg")` over `devtools::install_github("org/pkg")` in README + * [ ] Use `pak::pak("org/pkg")` in README * [ ] Consider running `use_tidy_dependencies()` and/or replace compat files with `use_standalone()` - * [ ] `use_standalone("r-lib/rlang", "types-check")` instead of home grown argument checkers + * [ ] Use cli errors or file issue if you don't have time to do it now + * [ ] `use_standalone("r-lib/rlang", "types-check")` instead of home grown argument checkers; + or file issue if you don't have time to do it now * [ ] Add alt-text to pictures, plots, etc; see https://posit.co/blog/knitr-fig-alt/ for examples + ### Eternal + + * [ ] Bump required R version in DESCRIPTION to 3.6 + * [ ] `usethis::use_tidy_description()` + * [ ] `usethis::use_tidy_github_actions()` + * [ ] `devtools::build_readme()` + * [ ] [Re-publish released site](https://pkgdown.r-lib.org/dev/articles/how-to-update-released-site.html) if needed + Created on DATE with `usethis::use_tidy_upkeep_issue()`, using [usethis vVERSION](https://usethis.r-lib.org) # upkeep bullets don't change accidentally