-
Notifications
You must be signed in to change notification settings - Fork 72
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
webr::install()
breaks on old versions of webR if packages are updated
#245
Comments
@georgestagg I'm not sure what the repo structure being used by https://repo.r-wasm.org/. But, shouldn't the binaries being generated already be versioned like:
where the tools::write_PACKAGES("~/path/to/bin/macosx/contrib/4.1") |
That's right. We're using that structure, though we use the OS name The issue had arisen because our Binary packages for R 4.1 still exist in A change has now been made to tweak However, webR v0.1.0/v0.1.1 will always look in the wrong place. I will keep an eye on it in the short term, but eventually these versions of webR will break again as new packages are released and the package sources in There might be ways to tweak the repo CDN to detect the issue and serve a different |
Thanks for the detailed response! I think one additional question I would have here is should the I wouldn't worry too much about the redirect at the moment. I think a huge surge of interest will come after posit::conf(2023). Do you know if you're aiming to release |
Perhaps... Though I'd rather not stray too far from the usual CRAN structure for the moment. My current plan is to avoid updating the version of Emscripten that we're using to build the public distributions of webR and its packages between major versions of R, so as to avoid that issue. In any case, from experimentation it seems like small changes to Emscripten do not always cause issues, the Emscripten team just don't guarantee the ABI compatibility for sure.
Yes, it should be very soon. v0.1.1 should continue to work if there is no time for you to upgrade and test quarto-webr for 0.2.0 before posit::conf. (At the very least, handling plotting messages will need to be reworked, let me know if you need help after release). |
Probably this can be fixed by updating
webr::install()
so thatutils::available.packages()
is used with acontriburl
pointing to the binary directory. That way the package list returned byavailable.packages()
is specific to the version of R that's running.See r-wasm/webr-repo#29.
The text was updated successfully, but these errors were encountered: