Skip to contents

Prints every registered option with its current value and where that value came from – an R option, an environment variable, a config file, or the package default. This is the first thing to run when a solver is not found.

Usage

en_config_show()

Value

a data frame with columns option, value, source and origin, invisibly. origin names the environment variable or config file the value came from, where applicable.

Examples

en_config_show()
#> 
#> ── energyRt configuration ──────────────────────────────────────────────────────
#>   arrow_compression        "zstd"                      [default]
#>   arrow_compression_level  15                          [default]
#>   arrow_format             "feather"                   [default]
#>   debug                    0                           [default]
#>   default_registry         list(name="registry", env=".scen")  [default]
#>   gams_path                "C:/GAMS/32/"               [config] C:\Users\admin\AppData\Roaming/R/config/R/energyRt/config.yml
#>   gdxlib_path              "C:/GAMS/35/"               [config] C:\Users\admin\AppData\Roaming/R/config/R/energyRt/config.yml
#>   glpk_path                NULL                        [default]
#>   julia_path               NULL                        [default]
#>   mosox_path               NULL                        [default]
#>   neos_email               NULL                        [default]
#>   neos_endpoint            "https://neos-server.org:3333"  [default]
#>   progress_bar             TRUE                        [default]
#>   python_path              "C:\Users\admin\AppData\Local\r-miniconda\env...  [config] C:\Users\admin\AppData\Roaming/R/config/R/energyRt/config.yml
#>   scenarios_path           "scenarios/"                [default]
#>   solver                   list(name="glpk", lang="GLPK")  [config] C:\Users\admin\AppData\Roaming/R/config/R/energyRt/config.yml
#>   verbose                  0                           [default]
#> 
#>  Priority: R option > env var > ./.energyRt.yml > C:\Users\admin\AppData\Roaming/R/config/R/energyRt/config.yml > default