-
Notifications
You must be signed in to change notification settings - Fork 9
Description
I am not sure where to open this issue, as it involves quarto, webr, rwasm and shinylive. I am facing a new issue which I did not have few weeks ago.
I want to render a quarto document including some shinylive demos. These demos need to pull a package from a custom wasm CRAN I maintain.
The GA workflow fails if I use a specific tagged version of my custom package:
# That's what I ask in the workflow file to install the right blockr version
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: |
posit-dev/r-shinylive
any::knitr
any::rmarkdown
any::downlit
any::xml2
any::shinyMobile
BristolMyersSquibb/blockr@v0.0.2.9023
any::pracma
cache-version: 2The error I get:
Error in `get_github_wasm_assets()`:
! Can't find WebAssembly binary assets for
github::BristolMyersSquibb/blockr@v0.0.2.9023
! Ensure WebAssembly binary assets are associated with the GitHub release
"v0.0.2.9023".
ℹ WebAssembly binary assets can be built on release using GitHub Actions:
<https://github.com/r-wasm/actions>
ℹ Alternatively, install a CRAN version of this package to use the default Wasm
binary repository.That's weird since the corresponding version should be available in my wasm CRAN. Besides, it just works fine in our pkgdown website which points to the same repo. The demo can also be found here.
I can also reproduce the error locally if I install the package with devtools::install_github("BristolMyersSquibb/blockr@v0.0.2.9023"). Fun fact: if I do devtools::install() from the blockr package project, I am able to compile the quarto document.
I followed what is written in the r-wasm instructions but now I am confused on how to move forward.
What did I do wrong?