ci: add dependency cache-version and 45-min timeout to R CMD check#4
Merged
Conversation
- cache-version: v1 on setup-r-dependencies ensures the pak cache key is explicit and can be bumped manually when a clean rebuild is needed - timeout-minutes: 45 prevents jobs from running indefinitely when arrow/duckdb must be compiled from source under R-devel (was causing 2-3h hangs) - Consistent --no-build-vignettes / --no-vignettes flags Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
R-devel has no RSPM binaries for arrow/duckdb, causing 40-60 min source compilations. Removed for now; can be re-added once prebuilt dep caches are warm or a faster solution is in place. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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
cache-version: v1onsetup-r-dependencies@v2— makes the pak dependency cache key explicit; bump tov2to force a clean rebuild if packages get corruptedtimeout-minutes: 45— kills the job if it exceeds 45 min, preventing the 2–3 hour hangs caused byarrow/duckdbcompiling from source under R-devel with a cold cache--no-build-vignettes/--no-vignettesflags across all platformsWhy the devel job is slow (first run)
R-devel has no RSPM binary builds, so
arrowandduckdbcompile from source (~30–40 min). After the first successful run the pak cache is warm and subsequent checks take ~5 min.🤖 Generated with Claude Code