check_logical_settings: Check the settings that take only true or false

View source: R/config.R

check_logical_settingsR Documentation

Check the settings that take only true or false

Description

Stops when one of the LOGICAL_SETTINGS holds anything but a single TRUE or FALSE: a string, a number, NA, a vector longer than one, or a list. A quoted "yes" or "false" is not read as the value it spells, because the build reads these settings in more than one way: a template renders a section for any non-empty string, while isTRUE() is false for one, so a quoted value could turn on only part of a feature. A setting that is absent is fine.

Usage

check_logical_settings(config)

Arguments

config

List of configuration values.

Value

config, invisibly. Aborts with class shinyelectron_invalid_logical_setting.


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