Skip to content

ci(R-CMD-check): bypass renv so installs finish within the timeout - #5

Closed
truenomad wants to merge 1 commit into
masterfrom
ci/bypass-renv-in-r-cmd-check
Closed

ci(R-CMD-check): bypass renv so installs finish within the timeout#5
truenomad wants to merge 1 commit into
masterfrom
ci/bypass-renv-in-r-cmd-check

Conversation

@truenomad

Copy link
Copy Markdown
Contributor

Summary

  • R-CMD-check has been cancelling at the 45-min timeout on every push since the repo started carrying renv.lock + renv/.
  • setup-r-dependencies@v2 sees the lockfile, switches into renv mode, and source-builds all 193 pinned packages (incl. INLA, which the workflow comment already calls out as un-installable in CI). The job hangs on a source compile after tmap finishes and gets cancelled.
  • This change hides the renv project on the runner and disables the autoloader, so the action falls back to the standard pak + DESCRIPTION + RSPM-binary path. Local renv.lock / renv/ are untouched.

Test plan

  • Watch this PR's R-CMD-check.yaml run finish under the 45-min timeout.
  • Confirm the install step shows RSPM binary fetches (e.g. Got <pkg> (from binary)) rather than Building <pkg> for the heavy spatial deps.
  • Confirm lint.yaml still passes (untouched).

The repo's renv.lock made setup-r-dependencies switch into renv mode and
source-build all 193 pinned packages (incl. INLA, which can't install in
CI). The job consistently hit the 45-min timeout after tmap. Hide the
lockfile + renv dir on the runner and disable the autoloader so the
action falls back to pak + DESCRIPTION + RSPM binaries.
@truenomad truenomad closed this Jun 27, 2026
@truenomad
truenomad deleted the ci/bypass-renv-in-r-cmd-check branch June 27, 2026 07:04
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