check_auto_update_status: Check Auto-Update Status

View source: R/updates.R

check_auto_update_statusR Documentation

Check Auto-Update Status

Description

Reports the current auto-update configuration status.

Usage

check_auto_update_status(appdir)

Arguments

appdir

Character path to app directory

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), github (a list with owner, repo, private), used by the GitHub provider, and generic (a list with url), used by the generic HTTP provider.

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)


shinyelectron documentation built on Dec. 3, 2026, 9:07 a.m.