stan_package_create {instantiate} | R Documentation |
Create example package with a built-in Stan model.
Description
Create an example package with a Stan model inside.
Usage
stan_package_create(path = tempfile())
Arguments
path |
Path to write the package. Must not already exist. |
Details
After creating the package, the next step is to
configure it with stan_package_configure()
. After that,
install it as an ordinary R package to automatically compile the models.
Value
NULL
(invisibly). Called for its side effects.
Examples
if (identical(Sys.getenv("INSTANTIATE_EXAMPLES"), "true")) {
path <- tempfile()
stan_package_create(path = path)
list.files(path)
}
[Package instantiate version 0.2.2 Index]