Something went wrong. Try again.
[mirror] R Package for a Mildly Opinionated Stan Bayesian Workflow stanflow.visruth.com
Something went wrong. Try again.
1.3 kB · 42 lines
12345678910111213141516171819202122232425262728293031323334353637383940414243% Generated by roxygen2: do not edit by hand% Please edit documentation in R/interfaces.R\name{setup_cmdstanr}\alias{setup_cmdstanr}\title{Setup cmdstanr and CmdStan}\usage{setup_cmdstanr(quiet, force, reinstall = FALSE, check_updates = FALSE, cores)}\arguments{\item{quiet}{Logical. If \code{TRUE}, suppresses status messages. This cannot suppress cmdstan messages.}
\item{force}{Logical. If \code{TRUE}, allows installation in non-interactive sessions.}
\item{reinstall}{Logical. If \code{TRUE}, forces re-installation.}
\item{check_updates}{Logical. If \code{TRUE}, checks for CmdStan updates.}
\item{cores}{Integer. Number of cores to use. Defaults to\code{getOption("mc.cores")}. You must set \code{options(mc.cores = ...)} or pass\code{cores} explicitly.}}\value{Returns \code{TRUE} invisibly when no install/upgrade is needed.Otherwise, returns \code{NULL} invisibly after installation.}\description{Checks the C++ toolchain, locates CmdStan, and installs or upgradesCmdStan if needed. Prefer \code{setup_interface()} for user-facing setup sinceit performs argument validation and defaults; \code{setup_cmdstanr()} assumesinputs are already checked.}\examples{\dontrun{setup_cmdstanr( quiet = TRUE, force = TRUE, reinstall = FALSE, check_updates = FALSE, cores = 2)}}