dot-get_golem_config: Read App Config

.get_golem_configR Documentation

Read App Config

Description

Read App Config

Usage

.get_golem_config(
  value,
  config = Sys.getenv("GOLEM_CONFIG_ACTIVE", Sys.getenv("R_CONFIG_ACTIVE", "default")),
  use_parent = TRUE
)

Arguments

value

Value to retrieve from the config file.

config

GOLEM_CONFIG_ACTIVE value. If unset, R_CONFIG_ACTIVE. If unset, "default".

use_parent

Logical, scan the parent directory for config file.


r4ds/bookclubber documentation built on April 10, 2024, 6:12 p.m.