Skip to content

Upkeep for chattr (2025) #148

@edgararuiz

Description

@edgararuiz

To begin

  • usethis::pr_init("upkeep-2025-11")

Pre-history

  • usethis::use_readme_rmd()
  • usethis::use_roxygen_md()
  • usethis::use_github_links()
  • usethis::use_pkgdown_github_pages()
  • usethis::use_tidy_github_labels()
  • usethis::use_tidy_style()
  • urlchecker::url_check()

2020

  • usethis::use_package_doc()
  • usethis::use_testthat(3)
  • Align the names of R/ files and test/ files

2021

  • Remove check environments section from cran-comments.md
  • Use lifecycle instead of artisanal deprecation messages

2022

  • Handle and close any still-open master --> main issues
  • usethis:::use_codecov_badge("mlverse/chattr")
  • Update pkgdown site using instructions at https://tidytemplate.tidyverse.org
  • Update lifecycle badges with more accessible SVGs: usethis::use_lifecycle()

2023

  • 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
  • usethis::use_tidy_logo(); pkgdown::build_favicons(overwrite = TRUE)
  • usethis::use_tidy_coc()
  • Use pak::pak("mlverse/chattr") in README
  • Consider running usethis::use_tidy_dependencies() and/or replace compat files with use_standalone()
  • Use cli errors or file an issue if you don't have time to do it now
  • usethis::use_standalone("r-lib/rlang", "types-check") instead of home grown argument checkers;
    or file an 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

2025

  • usethis::use_air() https://posit-dev.github.io/air/
  • usethis::use_package("R", "Depends", "4.1")
  • Switch to the base pipe (|>)
  • 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"))
  • Convert in-header chunk options to the newer in-body style used by Quarto:
    fs::dir_ls("vignettes", regexp = "[.][Rq]md$") |> purrr::walk(\(x) 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

Created on 2025-11-11 with usethis::use_tidy_upkeep_issue(), using usethis v3.2.1.9000

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions