R/zzz.R

Defines functions .onLoad

.onLoad <- function(libname, pkgname) {
  modules <- paste0("stan_fit4", names(stanmodels), "_mod")
  for (m in modules) loadModule(m, what = TRUE)
}
gregorp90/RStan-package-test documentation built on May 26, 2019, 1:32 a.m.