Repository navigation
ci: upgrade r-wasm/actions v2 to v3 (fix webR build) - #80
Merged
Merged
Conversation
v2's build-rwasm code.R reinstalled the latest pkgdepends (0.9.1), which has upstream bug r-lib/pkgdepends#462 (res_one_row_df: nrow must equal 1) when resolving a package's full dependency graph against the r-wasm repo. v3 drops that reinstall and uses the patched pkgdepends baked into the webR image, fixing the deploy. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WRiaazotsabW2TZ499LLr4
This branch had an error being deployed
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.
Problem
The webR/
gh-pagesbuild (webr.yml) fails at rwasm dependency resolution:Root cause: r-lib/pkgdepends #462 — a bug in pkgdepends 0.9.1 resolving a package's full dependency graph against the r-wasm repo. The
r-wasm/actions@v2build-rwasmstep runspak::pak("r-wasm/rwasm"), which reinstalls the latest (buggy) pkgdepends, overriding the patched version baked into the webR image.Fix
Upgrade the reusable workflow
r-wasm/actions/.github/workflows/deploy-cran-repo.ymlfrom@v2→@v3. v3'sbuild-rwasm/code.Rremoved the pkgdepends reinstall and uses the patched pkgdepends already in the webR image (the fix the webR maintainer applied for #462). Same inputs (packages/webr-image/compress), so it's a drop-in upgrade that keeps us on the latest webR toolchain.Verify after merge
Re-run
webr.ymlondevel(couldn't test from the branch — thegithub-pagesenvironment is restricted todevel/main).🤖 Generated with Claude Code