This provides a knitr engine for Stan, suitable for usage when attempting
to render Stan chunks and compile the model code within to an executable with
CmdStan. Use register_knitr_engine() to make this the default engine for
stan chunks. See the vignette
R Markdown CmdStan Engine
for an example.
Value
A character vector containing the formatted chunk output produced by
knitr::engine_output().
Examples
# \dontrun{
knitr::knit_engines$set(stan = cmdstanr::eng_cmdstan)
# }