-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
Below is what I did for a recent project:
- I setup a wasm CRAN here: https://github.com/RinteRface/rinterface-wasm-cran following the doc from here.
- I try to install
{shinyMobile}from the provided url: https://rinterface.github.io/rinterface-wasm-cran/. Demo shinylive app is here
webr::install("shinyMobile", repos = "https://rinterface.github.io/rinterface-wasm-cran/")
Warning: unable to access index for repository https://rinterface.github.io/rinterface-wasm-cran/bin/emscripten/contrib/4.3:
download from 'https://rinterface.github.io/rinterface-wasm-cran/bin/emscripten/contrib/4.3/PACKAGES' failed- Then, if I manually upload the same GA artifact to Netlify + custom headers (this would not work without):
#netlify.toml
[[headers]]
for = "/*"
[headers.values]
Access-Control-Allow-Origin = "*"
Access-Control-Allow-Headers = "*"
Access-Control-Allow-Methods = "*"
I can download the packages and run the app with the correct package version
webr::install("gplots")
webr::install("shinyMobile", repos = "https://66199b8ebceb89385d143187--frabjous-twilight-b36d68.netlify.app/")
# Working well
This used to work in the past months. Roughly 4 months ago I setup the same infrastructure on a non CRAN package and could download it from the wasm CRAN: BristolMyersSquibb/webr-repos@d05444f). This other setup is now also broken.
My understanding is that upload page artifact is in beta and evolving so things might have changed.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels