Unofficial package overlay for webR.
This repository hosts WebAssembly package artifacts for packages that are missing, patched, or experimentally built for webR. Use it together with the official webR package repository so dependencies continue to resolve from the canonical source.
This repository is unofficial and is not affiliated with the webR, lavaan, or quadprog maintainers.
quadprog 1.5-8: WebAssembly build for webR/R 4.5.lavaan 0.6-21: temporary patched build for webR/R 4.5.
The lavaan patch handles parallel::detectCores() returning NA in webR. Dependencies such as MASS, mnormt, pbivnorm, and numDeriv should come from the official webR repository at https://repo.r-wasm.org/.
The current target is webR/R 4.5.
overlay_repo <- "https://brianmsm.github.io/webr-packages-overlay/repo"
official_webr_repo <- "https://repo.r-wasm.org/"
webr::install(
"lavaan",
repos = c(overlay = overlay_repo, official = official_webr_repo)
)
library(lavaan)Serve the docs/ directory locally:
python3 scripts/serve_repo.py --directory docs --port 9090Then install from the local overlay in webR:
overlay_repo <- "http://127.0.0.1:9090/repo"
official_webr_repo <- "https://repo.r-wasm.org/"
webr::install(
"lavaan",
repos = c(overlay = overlay_repo, official = official_webr_repo)
)docs/repo/ Public CRAN-like package repository for GitHub Pages
packages/lavaan/ lavaan patch notes and build script
packages/quadprog/ quadprog build notes and build script
scripts/ Reusable helper scripts
notes/ Build notes, browser test notes, and concise summaries
Package artifacts retain their upstream licenses. This repository only hosts experimental WebAssembly builds and build scripts. A repository-level license for the helper scripts has not been selected yet.