Something went wrong. Try again.
[mirror] R Package for a Mildly Opinionated Stan Bayesian Workflow stanflow.visruth.com
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354% 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, dry_run = FALSE)}\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.}
\item{dry_run}{Logical. If \code{TRUE}, previews mutating setup actions withoutinstalling, attaching, changing options, or prompting. Dry-run output isshown even when \code{quiet = TRUE}.}}\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)}}