Reports the current auto-update configuration status.
Value
Invisibly returns the updates configuration list, which is always
present because read_config() deep-merges defaults. Elements include
enabled (logical, FALSE by default when auto-updates have never been
enabled), provider (character), check_on_startup, auto_download,
auto_install (logical), and, for the GitHub provider, github (a list
with owner, repo, private).
Examples
# Check update configuration on a temporary app
app <- file.path(tempdir(), "check-updates-demo")
dir.create(app, showWarnings = FALSE)
writeLines("library(shiny)", file.path(app, "app.R"))
enable_auto_updates(app, owner = "myusername", repo = "myapp", verbose = FALSE)
check_auto_update_status(app)
#>
#> ── Auto-Update Status ──
#>
#> ✔ Auto-updates are enabled
#> ℹ Provider: "github"
#> ℹ Repository: <https://github.com/myusername/myapp>
#> ℹ Settings:
#> • Check on startup: TRUE
#> • Auto-download: FALSE
#> • Auto-install: FALSE