stan_package_model_files {instantiate}R Documentation

List Stan model file paths.

Description

List all the paths to the Stan model files in a package.

Usage

stan_package_model_files(path = getwd())

Arguments

path

Character of length 1, root path to start from when searching for Stan model files.

Details

All Stan models must live in the ⁠src/stan/⁠ directory in the package file system.

Value

Character vector of paths to Stan model files in the package.

See Also

Other packages: stan_cmdstan_path(), stan_package_clean(), stan_package_compile(), stan_package_configure()

Examples

path <- tempfile()
stan_package_create(path = path)
stan_package_model_files(path)

[Package instantiate version 0.2.2 Index]