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

Restore short R version in r-wasm repo URLs #111

Merged
merged 3 commits into from
Jul 29, 2024
Merged

Restore short R version in r-wasm repo URLs #111

merged 3 commits into from
Jul 29, 2024

Conversation

georgestagg
Copy link
Collaborator

For a previous version of webR, we required the full R version to be included as part of r-wasm repo URLs for Emscripten ABI compatability reasons. This was a temporary measure and is no longer required for the latest release of webR.

This PR restores the original short R versioning in repo.r-wasm.org URLs, matching the base R and r-universe behaviour.

The TODO mentioned combining two functions (one for r-wasm, the other for r-universe) but I've decided not to in case we diverge again in the future. Instead, I've just abstracted out the logic for showing a warning message when native and Wasm package versions don't match.

Fixes #110.

Copy link
Contributor

@gadenbuie gadenbuie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @georgestagg! I have two small code style comments that I don't think are blocking but that would be nice to address.

R/packages.R Outdated Show resolved Hide resolved
R/packages.R Outdated Show resolved Hide resolved
@georgestagg georgestagg merged commit 3822e0f into main Jul 29, 2024
12 checks passed
@georgestagg georgestagg deleted the fix-110 branch July 29, 2024 08:19
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

Successfully merging this pull request may close these issues.

export doesn't download binary WebAssembly packages as part of the output app's static assets.
2 participants