stan_package_configure {instantiate} | R Documentation |
Write 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)
path |
Character of length 1, file path to the package which will
contain Stan models in |
overwrite |
Logical of length 1, whether to overwrite any existing configuration files. |
Writes configuration scripts configure
and configure.win
in the directory specified by the path
argument.
NULL
(invisibly). Called for its side effects.
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)
}