Something went wrong. Try again.
[mirror] R Package for a Mildly Opinionated Stan Bayesian Workflow stanflow.visruth.com
Something went wrong. Try again.
1.5 kB 43 lines
1234567891011121314151617181920212223242526272829303132333435363738394041424344% 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, dry_run = 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.}
\item{dry_run}{Logical. If \code{TRUE}, previews update steps without installingpackages or prompting.}}\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 for installation unless \code{dry_run = TRUE}.Dry runs check repositories and preview installs without prompting orinstalling packages.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)}
}