r-wasm / webr

The statistical language R compiled to WebAssembly via Emscripten, for use in web browsers and Node.
https://docs.r-wasm.org/webr/latest/
Other
805 stars 54 forks source link

how / when do packages at repo.r-wasm.org get updated? #385

Closed isbool closed 3 months ago

isbool commented 3 months ago

Hey, after opening an issue on the GitHub of the developers of the vegan package (it couldn't compile to wasm due to issues of the compiler with dynamic memory allocation in Fortran, the developers changed the code to statically allocate memory on the affected parts) they released a new version which compiles to wasm. Its up on r-universe 2-3 days now but i see it still hasnt been added to repo.r-wasm.org. I wanted to ask what's the process of getting it to update there.

georgestagg commented 3 months ago

Right now, there is no formal process for adding or updating a package on repo.r-wasm.org. The repository aims to be a mirror of CRAN but is managed on an as-is basis and updated much less frequently.

Usually I can manually trigger package updates on request, but the repository is currently frozen in preparation for the webR 0.3.0 release, expected within the next week or so.

As webR 0.3.0 is released, repo.r-wasm.org will be updated at the same time with binary versions of all packages currently on CRAN that successfully compile for Wasm. Until then, I recommend using R-Universe's Wasm binaries to load the vegan package.

I'm going to close this issue, as it's not directly a package request or a bug in webR, but feel free to comment here after the release of webR 0.3.0 if the vegan package does not appear in the repo.