Skip to content

ci: add dependency cache-version and 45-min timeout to R CMD check#4

Merged
rkrug merged 2 commits into
mainfrom
claude/cache-deps
May 29, 2026
Merged

ci: add dependency cache-version and 45-min timeout to R CMD check#4
rkrug merged 2 commits into
mainfrom
claude/cache-deps

Conversation

@rkrug

@rkrug rkrug commented May 29, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • cache-version: v1 on setup-r-dependencies@v2 — makes the pak dependency cache key explicit; bump to v2 to force a clean rebuild if packages get corrupted
  • timeout-minutes: 45 — kills the job if it exceeds 45 min, preventing the 2–3 hour hangs caused by arrow/duckdb compiling from source under R-devel with a cold cache
  • Consistent --no-build-vignettes / --no-vignettes flags across all platforms

Why the devel job is slow (first run)

R-devel has no RSPM binary builds, so arrow and duckdb compile 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

rkrug and others added 2 commits May 29, 2026 10:16
- 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>
@rkrug rkrug merged commit dfe8cd8 into main May 29, 2026
5 checks passed
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