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 · 38 lines
123456789101112131415161718192021222324252627282930313233343536373839% Generated by roxygen2: do not edit by hand% Please edit documentation in R/update.R\name{stanflow_update}\alias{stanflow_update}\title{Update stanflow packages}\usage{stanflow_update(recursive = FALSE, dev = FALSE)}\arguments{\item{recursive}{If \code{TRUE}, will also list dependencies of dependencies. When\code{check_updates = TRUE}, the recursive traversal follows only "strong"dependencies (Depends/Imports/LinkingTo), so Suggests are not expandedrecursively.}
\item{dev}{If \code{FALSE} (default), checks for updates in the R-multiverse or CRAN(stable releases). If \code{TRUE}, checks the Stan R-universe (dev versions). This isonly cogent for Stan packages, and cannot compare two dev versions.}}\value{Invisibly returns a data frame of outdated packages (same columns as\code{\link{stanflow_deps}}). Returns \code{NULL} invisibly when no updates areneeded.}\description{Checks for outdated Stan workflow packages and installs updates. This functionrequires an interactive R session and will error otherwise.Adapted from \code{\link[tidyverse:tidyverse_update]{tidyverse::tidyverse_update()}}.}\examples{\dontrun{# Update direct dependencies onlystanflow_update()
# Update full dependency tree (including suggests)stanflow_update(recursive = TRUE)}
}