The Build irid Wasm binary step (r-wasm/actions/build-rwasm@v2) in .github/workflows/pkgdown.yaml has been failing since ~2026-05-08 with:
Error in "res_one_row_df(entries)" : ! `nrow(out)` must equal `1`.
Calls: <Anonymous> ... <Anonymous> -> pkgplan_resolve -> synchronise -> <Anonymous>
Root cause
Upstream bug in pkgcache 2.2.5 (current CRAN). Tracked in:
Fix is in dev pkgcache (merged to dev pak in r-lib/pak@ab497a7), not yet on CRAN.
Options
-
Wait for a pkgcache CRAN release that includes the fix — no action needed, will start passing automatically.
-
Workaround: replace the r-wasm/actions/build-rwasm@v2 step with an inline docker run that installs pak from the devel repo before calling rwasm::add_pkg:
install.packages(
"pak",
repos = sprintf(
"https://r-lib.github.io/p/pak/devel/%s/%s/%s",
.Platform$pkgType, R.Version()$os, R.Version()$arch
)
)
pak::pak("r-wasm/rwasm")
rwasm::add_pkg("local::.", repo_dir = "_rwasm")
rwasm::make_vfs_library(out_dir = ".", repo_dir = "_rwasm")
Run inside ghcr.io/r-wasm/webr:main with the workspace mounted (the existing action's code.R is the template).
Close this once CRAN pkgcache > 2.2.5 ships and the workflow goes green again.
The
Build irid Wasm binarystep (r-wasm/actions/build-rwasm@v2) in .github/workflows/pkgdown.yaml has been failing since ~2026-05-08 with:Root cause
Upstream bug in pkgcache 2.2.5 (current CRAN). Tracked in:
res_one_row_df(entries): !nrow(out)must equal1r-lib/pak#804nrow(out)must equal1r-lib/pkgdepends#462rwasm::add_pkg()fails to resolve Bioconductor packages —nrow(out) must equal 1r-wasm/rwasm#56Fix is in dev pkgcache (merged to dev pak in r-lib/pak@ab497a7), not yet on CRAN.
Options
Wait for a pkgcache CRAN release that includes the fix — no action needed, will start passing automatically.
Workaround: replace the
r-wasm/actions/build-rwasm@v2step with an inlinedocker runthat installs pak from the devel repo before callingrwasm::add_pkg:Run inside
ghcr.io/r-wasm/webr:mainwith the workspace mounted (the existing action's code.R is the template).Close this once CRAN pkgcache > 2.2.5 ships and the workflow goes green again.