Closed JosiahParry closed 3 months ago
See also r-wasm/actions#10.
As of afaf4dc4e0092d18eaf781f65a1b91a74f4c0c26 rwasm
is included in the webR development docker image:
$ docker pull ghcr.io/r-wasm/webr:main
main: Pulling from r-wasm/webr
[...]
Status: Downloaded newer image for ghcr.io/r-wasm/webr:main
ghcr.io/r-wasm/webr:main
$ docker run -it --rm ghcr.io/r-wasm/webr:main
root@docker-desktop:~# R
R version 4.4.0 (2024-04-24) -- "Puppy Cup"
[...]
> library(rwasm)
Targeting Wasm packages for R 4.4.0
With `WEBR_ROOT` directory: /opt/webr
With `EMSCRIPTEN_ROOT` directory: /opt/emsdk/upstream/emscripten
>
Thanks for the push!
I'm trying to build my own packages to work with webR. However it's been a very long time just installing the
{rwasm}
package. We're nigh on 35 minutes now. It would be great if the package was included in the Docker image so that the majority of time is dedicated to building other R package instead of the rwasm package. Or, perhaps the dependency tree can be made smaller?Following the instructions of
install.packages("pak") pak::pak("r-wasm/rwasm")
many R packages are installed—including {dplyr} for example. Perhaps this can be made a bit smaller at a later point?