Skip to contents

Reads the YAML configuration file that stores forecast parameters such as vintages, output settings, and workflow toggles.

Usage

load_forecast_cfg(path = NULL)

Arguments

path

Optional explicit path to the YAML configuration. When `NULL`, the loader checks `MODDEV_CONFIG`, the packaged default under `inst/extdata/config/current_config.yml`, and finally `config/current_config.yml` in the project root.

Value

A named list containing configuration entries.