CRAN prep 0.7.1: em-dashes + revdep-clean cran-comments#30
Merged
Conversation
- 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).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Caught in a cross-agent pre-submission sweep.
:/;. Non-ASCII risk on some Windows checks, also Voice DNA hit.cortezaimports saber on CRAN. RanR CMD checkon CRAN corteza 0.6.3 against this saber 0.7.1 build: Status OK. cran-comments now states this truthfully.cerebelo/cerebrosince they aren't on CRAN.Test plan
tinypkgr::check()— 0 errors, 0 warnings, 0 notesR CMD check corteza_0.6.3.tar.gzagainst installed saber 0.7.1 — Status OK