mirror of
https://github.com/SHOGGOTH-SECTOR/sica-fondt.git
synced 2026-09-30 01:15:10 +00:00
M3a toolchain: R 4.x + jsonlite only, all stats hand-rolled
Add R + jsonlite to SessionStart hook (minimal deps — no CRAN statistical packages). Update M3a spec §3: GARCH, Heston, HMM, DCC, copula, jump-diffusion, fBM all hand-rolled with base R primitives.
This commit is contained in:
@@ -74,6 +74,16 @@ else
|
||||
log "fpm $(fpm --version 2>&1 | head -1)"
|
||||
fi
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# R + jsonlite (economy organ: M3a statistical sims)
|
||||
# ---------------------------------------------------------------------------
|
||||
if command -v Rscript >/dev/null 2>&1 && Rscript -e 'library(jsonlite)' >/dev/null 2>&1; then
|
||||
log "R + jsonlite already present; skipping."
|
||||
else
|
||||
log "Installing r-base-core r-cran-jsonlite via apt-get ..."
|
||||
sudo apt-get install -y r-base-core r-cran-jsonlite || die "apt-get install of r-base-core/r-cran-jsonlite failed."
|
||||
fi
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Tcl (economy organ: M3 sim hub)
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user