View source: R/stan_cmdstan_version.R
stan_cmdstan_version | R Documentation |
instantiate
uses.Return the version of CmdStan that the instantiate
package uses.
stan_cmdstan_version(
cmdstan_install = Sys.getenv("CMDSTAN_INSTALL", unset = ""),
error_on_NA = TRUE
)
cmdstan_install |
Character of length 1, how to look for an installed copy of CmdStan. See https://wlandau.github.io/instantiate/ for details. Choices:
|
error_on_NA |
Logical of length 1, whether an error should be thrown if CmdStan is not found. |
Character of length 1, version of CmdStan that the instantiate
package uses. If CmdStan is not found, then the return value depends
on the error_on_NA
argument.
Other cmdstan:
stan_cmdstan_exists()
if (stan_cmdstan_exists()) {
message(stan_cmdstan_version())
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.