drop_missing_config_files: Warn about and drop the optional configured files that do not...

View source: R/config-paths.R

drop_missing_config_filesR Documentation

Warn about and drop the optional configured files that do not exist

Description

Dropping the key makes the build use its default instead of referring to a file that is never copied. export() calls this once the paths are resolved, and process_templates() calls it again for a configuration passed straight to build_electron_app().

Usage

drop_missing_config_files(config, base_dir = NULL)

Arguments

config

List. The configuration.

base_dir

Character or NULL. The directory relative paths in ⁠_shinyelectron.yml⁠ were resolved against, named in the warning.

Value

config, without the missing files.


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