Skip to content
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

Restrict building webR binaries to a specific version, e.g. v0.3.3 #33

Closed
coatless opened this issue Jun 13, 2024 · 2 comments
Closed

Comments

@coatless
Copy link
Contributor

coatless commented Jun 13, 2024

When building an R WASM binary with rwasm, the latest version of the webR repo is used. This usually is fine except when the portions between R and webR release differ, e.g. R 4.4.0 != R 4.3.3.

So, when attempting to install from a custom repository via install.packages() or webr::install(), there is an issue with retrieving the R/4.3 directory as it isn't built since the R version used for the compilation is R/4.4

@georgestagg
Copy link
Member

It should be possible to build R packages for an older version of webR by following the Getting Started Docker Instructions, but replacing the given tag main with an older tagged version, e.g. v0.3.3, available in the list of released webR docker containers.

If using r-wasm/actions, rather than building locally, the Docker container can be set using the webr-image parameter. See r-wasm/actions#22 for further info.

@coatless
Copy link
Contributor Author

Ahh, wonderful! Missed the webr-image option :'(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants