% 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 expanded recursively.} \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 is only 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 are needed. } \description{ Checks for outdated Stan workflow packages and installs updates. This function requires an interactive R session and will error otherwise. Adapted from \code{\link[tidyverse:tidyverse_update]{tidyverse::tidyverse_update()}}. } \examples{ \dontrun{ # Update direct dependencies only stanflow_update() # Update full dependency tree (including suggests) stanflow_update(recursive = TRUE) } }