ci(R-CMD-check): bypass renv so installs finish within the timeout - #5
Closed
truenomad wants to merge 1 commit into
Closed
ci(R-CMD-check): bypass renv so installs finish within the timeout#5truenomad wants to merge 1 commit into
truenomad wants to merge 1 commit into
Conversation
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.
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
renv.lock+renv/.setup-r-dependencies@v2sees 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 aftertmapfinishes and gets cancelled.renv.lock/renv/are untouched.Test plan
R-CMD-check.yamlrun finish under the 45-min timeout.Got <pkg> (from binary)) rather thanBuilding <pkg>for the heavy spatial deps.lint.yamlstill passes (untouched).