Skip to content

chore: prepare 0.22.2 (CRAN macOS locale test fix) - #596

Merged
Data-Wise merged 3 commits into
devfrom
feature/release-0.22.2
Dec 1, 2026
Merged

Data-Wise merged 3 commits into
devfrom
feature/release-0.22.2

Conversation

@Data-Wise

Copy link
Copy Markdown
Owner

Summary

Prep for medfit 0.22.2, a test-only CRAN fix. CRAN's check results for 0.21.3 show tests ERROR on r-release-macos-x86_64, r-oldrel-macos-arm64 and r-oldrel-macos-x86_64 (test-sem-product-token.R:162, locale collation; the test was wrong, not the package). #595 added the skip on dev; this PR adds a testable helper, the version metadata and docs.

  • collation_is_c() helper (tests/testthat/helper-locale.R) with a stand-in-sorter test and planted defect.
  • Version 0.22.2, Date, NEWS, README, guide pages, .STATUS, CLAUDE.md, planning/releases/0.22.2/.
  • cran-comments.md resynced from fresh runs; two stale "development version" phrases reworded (the docs-release guard caught them).
  • R/, man/ and NAMESPACE are identical to v0.21.3 and v0.22.1 (empty git diff).

Evidence

  • R CMD check --as-cran --run-donttest on the 0.22.2 tarball, NOT_CRAN unset, CRAN-incoming variables set:
    • Suggests available: 0 errors, 0 warnings, 1 NOTE ("Days since last update: 3"); tests FAIL 0 | WARN 0 | SKIP 48 | PASS 1801, 8 s.
    • _R_CHECK_DEPENDS_ONLY_ and _R_CHECK_SUGGESTS_ONLY_: same, tests FAIL 0 | WARN 0 | SKIP 79 | PASS 1396.
  • test-docs-release.R, test-refcard-coverage.R, test-cookbook-consistency.R, test-sem-product-token.R: pass. The docs-release run first failed on the two stale phrases (planted by the version bump), then passed after the fix.
  • urlchecker::url_check() all correct; spelling::spell_check_package() no errors.
  • Local full run, planning/local-full-runs/RECEIPT-2026-12-01-f1718b2763.md: GREEN, all local-only test files and 10 gates pass, 789 s.

Limits

  • The skip branch only fires on a C-order platform, so it is not exercised locally; CRAN's macOS builders are the first real run. The new test uses stand-in sorters.
  • No win-builder or macOS-flavor run yet (maintainer step R8).
  • Next: release PR dev to main, tag v0.22.2, CRAN upload from the tag.

🤖 Generated with Claude Code

Data-Wise and others added 3 commits December 1, 2026 08:41
…on, NEWS, docs)

Test-only CRAN fix: collation_is_c() helper with a stand-in test and planted
defect; R/, man/ and NAMESPACE identical to v0.21.3 and v0.22.1.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@Data-Wise
Data-Wise merged commit 212de9d into dev Dec 1, 2026
3 of 4 checks passed
@Data-Wise
Data-Wise deleted the feature/release-0.22.2 branch December 1, 2026 16:48
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.

1 participant