Skip to content

Commit

Permalink
use stanc.js from exec/
Browse files Browse the repository at this point in the history
  • Loading branch information
bgoodri committed Sep 8, 2023
1 parent fa1969e commit 8543903
Show file tree
Hide file tree
Showing 2 changed files with 27,135 additions and 1 deletion.
2 changes: 1 addition & 1 deletion rstan/rstan/R/zzz.R
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ OUT <- 0

.onLoad <- function(libname, pkgname) {
assign("stanc_ctx", QuickJSR::JSContext$new(stack_size = 4 * 1024 * 1024), envir = topenv())
stanc_js <- system.file("stanc.js", package = "StanHeaders")
stanc_js <- system.file("exec", "stanc.js", package = "rstan", mustWork = TRUE)
stanc_ctx$source(stanc_js)
assignInMyNamespace("rstan_load_time", value = Sys.time())
set_rstan_ggplot_defaults()
Expand Down
27,134 changes: 27,134 additions & 0 deletions rstan/rstan/exec/stanc.js

Large diffs are not rendered by default.

0 comments on commit 8543903

Please sign in to comment.