Skip to content

chore: 2026 upkeep#182

Merged
schloerke merged 4 commits intomainfrom
schloerke/upkeep-2026
Mar 31, 2026
Merged

chore: 2026 upkeep#182
schloerke merged 4 commits intomainfrom
schloerke/upkeep-2026

Conversation

@schloerke
Copy link
Copy Markdown
Collaborator

@schloerke schloerke commented Mar 31, 2026

Fixes #180

Summary

Addresses the 2026 upkeep checklist from usethis::use_tidy_upkeep_issue().

Done

  • Add tidy GitHub labels (use_tidy_github_labels())
  • Add Code of Conduct (use_tidy_coc())
  • Add lifecycle infrastructure (use_lifecycle()); deprecate export(verbose=) with lifecycle::deprecate_warn()
  • Add rlang standalone types-check (use_standalone("r-lib/rlang", "types-check")); replace stop() calls in quarto_ext.R with cli::cli_abort()
  • Delegate assert_nzchar_string() to rlang::check_string(allow_empty = FALSE)
  • Replace hand-rolled check in assets_remove() with check_character()
  • Add Air formatter config (air.toml) and format-r-code: true in GHA routine job
  • Fix broken URL in README.md (shinylive Python docs link)
  • Add class = to unclassed expect_error() calls in tests
  • Add assertion unit tests (27 tests in test-assertions.R)
  • Fix R CMD check NOTEs: missing rlang imports, spelling wordlist, .Rbuildignore
  • Run use_tidy_description()
  • Update .Rbuildignore for .context and .git (worktree support)
  • urlchecker::url_check() passes cleanly

Skipped (N/A)

  • use_readme_rmd(): Keep README.md as-is (no .Rmd)
  • use_tidy_style(): Handled by routine GHA job with format-r-code: true
  • use_codecov_badge(): Not using codecov
  • use_tidy_logo(): No logo exists for this package
  • use_tidy_dependencies(): No compat files to replace
  • use_package("R", "Depends", "4.1"): No pipe or \(x) syntax used in R/
  • Switch to base pipe (|>): No pipe usage in R/
  • Switch to base anonymous function (\(x)): Skipped
  • Convert vignette chunk options: No vignettes directory
  • use_tidy_github_actions(): Using shiny-workflows, not r-lib/actions
  • build_readme(): No README.Rmd
  • Re-publish released site: Will do after merge if needed

Already done (pre-existing)

  • use_roxygen_md(), use_github_links(), use_pkgdown_github_pages()
  • use_package_doc(), use_testthat(3)
  • use_mit_license()
  • pak::pak() in README
  • R/ and test/ file names aligned
  • No mastermain issues
  • Alt-text: no images in package
  • cran-comments.md has no check environments section

Test plan

  • devtools::check() passes with 0 errors, 0 warnings, 0 notes
  • All 27 new assertion tests pass
  • urlchecker::url_check() passes
  • CI passes

🤖 Generated with Claude Code

schloerke and others added 4 commits March 31, 2026 11:50
Addresses the 2026 upkeep checklist from usethis::use_tidy_upkeep_issue().

* Add tidy GitHub labels
* Add Code of Conduct (use_tidy_coc)
* Add lifecycle infrastructure; deprecate export(verbose=) with lifecycle
* Add rlang standalone types-check; replace stop() with cli::cli_abort()
* Delegate assert_nzchar_string() to rlang::check_string()
* Replace hand-rolled check in assets_remove() with check_character()
* Add Air formatter config (air.toml) and format-r-code: true in GHA routine job
* Fix broken URL in README.md (shinylive Python docs link)
* Add class= to unclassed expect_error() calls in tests
* Add assertion unit tests (27 tests)
* Fix R CMD check NOTEs: missing rlang imports, spelling wordlist, .Rbuildignore
* Run use_tidy_description()
* Update .Rbuildignore for .context and .git (worktree support)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Remove heavy rlang standalone files (import-standalone-types-check.R,
import-standalone-obj-type.R) and replace with simple inline checks.
Remove unused rlang imports.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@schloerke schloerke merged commit 4d76e82 into main Mar 31, 2026
13 checks passed
@schloerke schloerke deleted the schloerke/upkeep-2026 branch March 31, 2026 17:16
@schloerke schloerke mentioned this pull request Mar 31, 2026
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upkeep for shinylive (2026)

1 participant