ouseful-demos / jupyterlite-m348-demo

Demo of R enviromment in JupyterLite
https://ouseful-demos.github.io/jupyterlite-m348-demo/
MIT License
0 stars 1 forks source link

What's going on?! #2

Open psychemedia opened 1 month ago

psychemedia commented 1 month ago

Trying to get my head round where we are with all this...

There are several things going on:

To distribute arbitrary packages, we need to:

To distribute the webr wasm core package, we need to:

For a self-contained distribution:

For a standalone version, we would need to make sure paths are set appropriately, and everything bundled, or have the package repo and the webr distribution repo on a path on the same domain.

NOTE 1: if we wanted to build a custom webr distribtion, with custom paths baked in rather than set by parameters, see: https://github.com/r-wasm/webr/compare/main...ouseful-testing:webr:main Note that the build action is broken for legacy r kernel v3 builds but is okay for 4.