Skip to content

Spring cleaning @ cynkra dev day 🧼 #174

Closed

Description

@schochastics

Mise en Place

Quick Wins

  • pr_init("upkeep-2025-06")
    💡Create a branch for this spring cleaning work
  • usethis::use_readme_rmd()
    💡If you didn't use a Rmd README, switch to one and port the content from README.md. If you did, please make sure it has the <!-- badges: start --> and <!-- badges: end --> comments.
  • usethis::use_roxygen_md()
    💡Activate the usage of Markdown in roxygen2 comments https://roxygen2.r-lib.org/articles/rd-formatting.html
  • usethis::use_github_links()
    💡Register the GitHub links in DESCRIPTION
  • usethis::use_pkgdown_github_pages()
    💡Implement the GitHub setup needed to automatically publish your pkgdown site to GitHub pages
  • usethis::use_tidy_github_labels()
    💡Create "tidy" issue labels https://usethis.r-lib.org/reference/use_github_labels.html#tidyverse-label-usage You might need to update the labelling of open issues.
  • urlchecker::url_check()
    💡Check whether URLs are valid. Use https://urlchecker.r-lib.org/reference/url_update.html for automatic fixing of some broken URLs.
  • usethis::use_package_doc()
    💡Create a package level manual page. Also use it to store imports useful for the whole page.
  • usethis::use_testthat(3)
    💡Activate testthat's third edition. https://testthat.r-lib.org/articles/third-edition.html
  • Remove check environments section from cran-comments.md
    💡In case you had submitted your package to CRAN
  • Handle and close any still-open master --> main PRs
    💡https://www.tidyverse.org/blog/2021/10/renaming-default-branch/
  • usethis::git_default_branch_rename()
    💡https://www.tidyverse.org/blog/2021/10/renaming-default-branch/
  • Update lifecycle badges with more accessible SVGs: usethis::use_lifecycle()
    💡If you already use lifecycle for communicating changes in your package.
  • Use pak::pak("tidyverse/hms") in README
    💡Better way to install packages than devtools these days.
  • Use R-universe installation instructions
    💡For instance install.packages('blockr.ui', repos = c('https://cynkra.r-universe.dev', 'https://cloud.r-project.org'))
  • usethis::use_mit_license() : if there are external contributors, see deep dives
    💡https://www.tidyverse.org/blog/2021/12/relicensing-packages/
  • usethis::use_tidy_description()
    💡Clean up the formatting of DESCRIPTION
  • usethis::use_github_action("check-standard")
    💡GHA workflow for R CMD check, will also add a badge.
  • usethis::use_github_action("test-coverage")
    💡 GHA workflow for test coverage uploaded on codecov.io, will also add a badge.
  • Delete any outdated CI configuration file
    💡Travis, Appveyor, old GitHub Actions workflows. Also check README badges!
  • usethis::use_air()
    💡You can also reformat files with Air
  • devtools::build_readme()
    💡Build the README.Rmd with a temporary installation of the package

cynkra Quick Wins

  • cynkratemplate::use_cynkra_pkgdown()
    💡Register the use of our awesome pkgdown template.
  • cynkrathis::register_cynkra() if cynkra is not in authors yet
  • cynkrathis:: add_cynkra_ror() if cynkra was already in authors
    💡https://ropensci.org/blog/2025/05/09/ror/

Deep Dives

Wrap Up

  • desc::add_me()
    💡Register yourself as ctb in DESCRIPTION
  • Ask maintainer to review PR + merge + and cleanup access rights of relevant

Activity

  1. added a commit that references this issue on Oct 25, 2025
  2. github-actions commented on Sep 22, 2026

    @github-actions
    Contributor

    This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary.

  3. locked and limited conversation to collaborators on Sep 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions