check_update_settings: Check the update settings a build will use

View source: R/updates.R

check_update_settingsR Documentation

Check the update settings a build will use

Description

Only while updates.enabled is true: the generic provider needs a usable address (check_generic_update_url()), and the S3 provider stops, since the build does not support it yet. Called from three places: by validate_config(), so for every read_config(); by build_electron_app(); and by build_multi_app(). The two build functions take a configuration list that may not have come through read_config(), and check it before any output is deleted. export() has already read the configuration, so it muffles the second ⁠http://⁠ warning from its build call.

Usage

check_update_settings(config)

Arguments

config

List. The configuration, or NULL.

Value

config, invisibly. Aborts with class shinyelectron_invalid_update_url or shinyelectron_unsupported_update_provider, and warns with class shinyelectron_insecure_update_url.


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