R/stan_package_configure.R
stan_package_configure.RdWrite configuration files in an R package which
compile all the Stan models in src/stan/ when the package installs.
stan_package_configure(path = getwd(), overwrite = FALSE)NULL (invisibly). Called for its side effects.
Writes configuration scripts configure and configure.win
in the directory specified by the path argument.
Other packages:
stan_cmdstan_path(),
stan_package_clean(),
stan_package_compile(),
stan_package_model_files()
if (identical(Sys.getenv("INSTANTIATE_EXAMPLES"), "true")) {
path <- tempfile()
stan_package_create(path = path)
list.files(path)
stan_package_configure(path = path)
list.files(path)
}