| rstan_config {rstantools} | R Documentation |
Configure system files for compiling Stan source code
Description
Creates or update package-specific system files to compile .stan model
files found in inst/stan.
Usage
rstan_config(pkgdir = ".")
Arguments
pkgdir |
Path to package root folder. |
Details
The Stan source files for the package should be stored in:
-
inst/stanfor.stanfiles containing instructions to build astanmodelobject. -
inst/stan/any_subfolderfor files to be included via the#include "/my_subfolder/mylib.stan"directive. -
inst/stan/any_subfolderfor alicense.stanfile. -
inst/includefor thestan_meta_header.hppfile, to be used for directly interacting with the Stan C++ libraries.
Value
Invisibly, whether or not any files were added/removed/modified by the function.
[Package rstantools version 2.4.0 Index]