-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to render quarto doc with shinylive app using custom Wasm CRAN #43
Comments
It seems to me that shinylive wants me to provide the .tgz for blockr with my GitHub release assets (as written in the message). However, that's absolutely not what I want as they are already here: https://bristolmyerssquibb.github.io/webr-repos/bin/emscripten/contrib/4.4/blockr_0.0.2.9023.tgz in my custom wasm CRAN. |
When you install directly from the GitHub remote In theory, using something like the following in the GHA script should install the package directly from the custom Wasm repository, rather than from the source GitHub repo itself.
However, this does not seem to work because the source package In any case, you should be able to work around the issue for now by setting the
|
Yes, this is a newer feature for Shinylive to aid in reproducibility of deployed applications by bundling static package assets with the app. It can be turned off using the Sorry about the poor documentation here, we're still figuring out how to make all this work together well. |
Is it because of this: Processing packages:
...
/github/workspace/_site/src/contrib/blockr_0.0.2.9023_5f169ea.tar.gz Run actions/upload-pages-artifact@v2
Run tar \
./
./src/
./src/contrib/
./src/contrib/blockr_0.0.2.9023_5f169ea.tar.gz |
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:
The error I get:
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/[email protected]")
. Fun fact: if I dodevtools::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?
The text was updated successfully, but these errors were encountered: