Fix R-devel CI: pin roxygen2 7.2.3 on all platforms, add layered tryCatch fallbacks#142
Merged
GegznaV merged 1 commit intoimpove-gha-workflowsfrom Mar 24, 2026
Conversation
…h fallbacks Co-authored-by: GegznaV <12725868+GegznaV@users.noreply.github.com> Agent-Logs-Url: https://github.com/r-hyperspec/hyperSpec/sessions/dbcd6102-4898-41b2-9dbb-9e33d07b0fb8
Copilot created this pull request from a session on behalf of
GegznaV
March 24, 2026 15:58
View session
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.
roxygen2 ≥ 7.3.0 has a
parser_setMethodbug — it callsmethods::getMethod()with no error handling, which crashes in clean Rscript sessions when S4 method tables for primitives ([[,[,$) are unpopulated. R-devel was exempt from the 7.2.3 pin, so it used 7.3.x and failed every run withno method found for function '[[' and signature hyperSpec.A secondary issue: the tryCatch fallback called
git checkout HEAD -- NAMESPACE man/, but both are gitignored and untracked — always failing withpathspec did not match any file(s) known to git, leaving no NAMESPACE forR CMD check.Changes
R-CMD-check.yamlif: matrix.config.r != 'devel'from "Install roxygen2 7.2.3" — pins 7.2.3 on all platforms including R-develSET_GROWABLE_BITsymbol removal in R 4.6.0-pre) where the RSPM binary fails but a freshly compiled.sosucceeds