get_config: Read Configuration Values

View source: R/run.R

get_configR Documentation

Read Configuration Values

Description

Read Configuration Values

Usage

get_config(app, file = NA, active = NA, use_parent = TRUE)

Arguments

app

A character string specifying the Shiny application to run (see run_app()).

file

A character string specifying the configuration file to read from. If NA (the default), use the value of the KINESIS_CONFIG_FILE environment variable ("config.yml" if the variable does not exist). If NULL, use the build-in configuration file.

active

A character string specifying the name of configuration to read from. If NA (the default), use the value of the KINESIS_CONFIG_ACTIVE environment variable ("default" if the variable does not exist).

use_parent

A logical scalar: should parent directories be scanned for configuration files if the specified config file isn't found?

Value

A list of configuration values.

Author(s)

N. Frerebeau


kinesis documentation built on July 1, 2025, 5:08 p.m.