Skip to content

CRAN prep 0.7.1: em-dashes + revdep-clean cran-comments#30

Merged
TroyHernandez merged 2 commits into
mainfrom
cran-prep-revdep-emdash
May 15, 2026
Merged

CRAN prep 0.7.1: em-dashes + revdep-clean cran-comments#30
TroyHernandez merged 2 commits into
mainfrom
cran-prep-revdep-emdash

Conversation

@TroyHernandez

Copy link
Copy Markdown
Contributor

Summary

Caught in a cross-agent pre-submission sweep.

  • Em-dashes: 3 in @title lines + 1 code comment replaced with : / ;. Non-ASCII risk on some Windows checks, also Voice DNA hit.
  • cran-comments:
    • R version corrected to 4.6.0 (was 4.5.3, stale).
    • Reverse-dep section was 'None on CRAN' — actually corteza imports saber on CRAN. Ran R CMD check on CRAN corteza 0.6.3 against this saber 0.7.1 build: Status OK. cran-comments now states this truthfully.
    • Dropped refs to cerebelo / cerebro since they aren't on CRAN.
    • Added win-builder to test environments.

Test plan

  • tinypkgr::check() — 0 errors, 0 warnings, 0 notes
  • R CMD check corteza_0.6.3.tar.gz against installed saber 0.7.1 — Status OK
  • win-builder R-devel and R-release results (pending email)
  • (optional) local Windows R CMD check

- Replace em-dashes in 3 @title lines and 1 code comment with
  colons / semicolons (non-ASCII risk + Voice DNA).
- cran-comments: update R version to 4.6.0; list corteza as the
  sole CRAN reverse dependency, confirmed clean via R CMD check
  on the CRAN tarball against this saber 0.7.1 build; add
  win-builder to test environments; drop refs to non-CRAN
  internal dependents.
Caught by Windows R 4.6.0 + R-devel R CMD check (run locally over
SSH/Tailscale).

- R/doc_scan.R: vignette-relative path stripping used sub() with the
  project_dir as a regex pattern. Windows path separators (\) were
  interpreted as regex backreferences, crashing the test. Replaced with
  prefix-based startsWith() check that handles both / and \.

- DESCRIPTION: single-quote 'AGENTS.md' / 'CLAUDE.md' so the spell
  checker stops flagging "md".

- inst/tinytest/test_session_start.R: gate with at_home(). The test
  exercises the SessionStart hook via system2(env =), which is not
  honored consistently on Windows (env vars get passed as positional
  args to Rscript). The hook itself is a *nix developer tool, and the
  integration test isn't useful in CRAN check. Locally still runs.

Verified Status: OK on Windows R 4.6.0 and R-devel (R 4.7).
@TroyHernandez TroyHernandez merged commit f5d797d into main May 15, 2026
4 checks passed
@TroyHernandez TroyHernandez deleted the cran-prep-revdep-emdash branch May 15, 2026 16:38
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