RASM Build for R Package No Longer Working (webR + altdoc)
Summary
I have an R package that uses webR and altdoc to build an interactive documentation website. This setup **previously worked, but recently started failing without any changes to the workflow.
Environment
-
r-wasm/actions@v1 -
webr-image: ghcr.io/r-wasm/webr:v0.5.2 - Package uses
altdoc+quarto+webR
YAML Snippet
- name: Build WASM R packages
uses: r-wasm/actions/build-rwasm@v1
with:
packages: "."
repo-path: "_site"
webr-image: "ghcr.io/r-wasm/webr:v0.5.2"
I get this error
ERROR: dependencies 'tidyverse', 'janitor', 'readxl', 'ggokabeito', 'here', 'knitr', 'tinytable', 'easystats', 'zoo' are not available for package 'mypkg'
I have also raised this here: https://github.com/coatless-r-n-d/quarto-webr-in-altdoc/issues/2
Here is link to my the yml I am using, if that helps: https://github.com/jgeller112/webgazeR/blob/master/.github/workflows/altdoc.yaml
I am not sure this is right place, but I hope someone can help me figure this out.
I think this is due to https://github.com/r-lib/pak/issues/784.
A fix for that issue has already been made, but a version of pak containing the fix has not been released yet. In theory, once the next version of pak hits CRAN this error should go away.
Thanks for the quick response and helpful information!
Is there a way of modifying the action call to use the unreleased version of the package frompaks Github repo until such a time as the updated package is formally released?
Is there a way of modifying the action call to use the unreleased version of the package from
paks Github repo until such a time as the updated package is formally released?
Would want something like this as well.
Does this helpnas a way of getting a fixed(?) version of pak ( I am unable to check at the moment?) https://pak.r-lib.org/reference/install.html#nightly-builds
Also, how would the builder action then make use of it?