Repository navigation
Arwad keeps R's syntax and its packages, and compiles numerical work to native code through the Goose language. This second citable release is the arwad R package.
# install.packages("remotes")
remotes::install_github("bashar-al-agha/arwad", subdir = "r")Compiling needs Goose v2026.3 and the C compiler R uses for packages (Rtools on Windows); without them every function still runs, in GNU R. Guide: langwi.com/get-started.
New since 0.1.0
The PLS-SEM analyses the PLS-SEM Primer asks for, each bit-identical to seminr or seminrExtras on the models in the test set (benchmark report):
- Consistent PLS for
reflective()constructs inaw_boot_pls(), matched to seminr 2.6.0 and 2.5.0: 10,000 resamples of the ECSI model with all seven constructs reflective took 20.0 s on four cores against 169.8 s for seminr (8.5× faster). - BCa confidence intervals:
aw_pls_ci(type = "bca"), with the jackknife run by the compiled engine (ADR-0007). - Moderation: two-stage interaction terms run natively; 10,000 resamples of the Primer's moderation model took 57.6 s on four cores against 390.1 s for seminr (6.8× faster).
- PLSpredict:
aw_predict_pls(), a drop-in replacement forseminr::predict_pls(). Ten folds and ten repetitions of the Primer's extended corporate reputation model took 0.48 s against 5.87 s (12.2× faster); leave-one-out was 7.0× faster (ADR-0008). - CVPAT and Q²predict:
aw_assess_cvpat()andaw_assess_cvpat_compare(), drop-in replacements forseminrExtras::assess_cvpat()andseminrExtras::assess_cvpat_compare(), t-values and p-values included. With 2,000 bootstrap resamples on the same model, 1.18 s against 10.02 s (8.5× faster).aw_q2_predict()gives Q²predict.
Status
An early release: the API may still change. Timings come from one laptop (Intel Core i7-7600U) and GitHub's CI runners, and the report states their variation and the processor's state. Equivalence claims come from the test suite that runs on every commit on Linux (with OpenBLAS), macOS (arm64) and Windows, under AddressSanitizer, and against seminr 2.5.0. Design decisions are recorded in docs/adr and the plan in the roadmap. Full change history: r/NEWS.md.
Cite
Use GitHub's Cite this repository button (CITATION.cff) or the Zenodo DOI of this release.
Apache License 2.0 © 2026 Bashar Al Agha (ORCID 0009-0004-5178-2345); v0.1.0 remains available under the MIT licence. Goose is the work of Wouter van Oortmerssen and R the work of the R Core Team; Arwad builds on both and is affiliated with neither.