cmdstanr and CmdStanR/cmdstan-utils.R
check_and_install_cmdstanr.RdLight wrapper around the same logic used by sccomp. Verifies that
cmdstanr (>= 0.9.0) and a working CmdStan install are available; if not,
it offers an actionable message (and, in non-interactive sessions, attempts
to install cmdstanr from the Stan-dev R-Universe).
check_and_install_cmdstanr()Invisibly TRUE if everything is available, FALSE otherwise.
if (FALSE) { # \dontrun{
check_and_install_cmdstanr()
} # }