| check_auto_update_status | R Documentation |
Reports the current auto-update configuration status.
check_auto_update_status(appdir)
appdir |
Character path to app directory |
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.
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.