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 ──────────────────────────────────────────────────────
#>   datasets_path               "datasets/"                 [default]
#>   debug                       0                           [default]
#>   exchange_compression        "lz4"                       [default]
#>   exchange_compression_level  15                          [default]
#>   exchange_format             "feather"                   [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]
#>   levcost_cache_path          "levcosts/"                 [default]
#>   log_file                    ""                          [default]
#>   models_path                 "models/"                   [default]
#>   neos_email                  "admin@optimalsolution.dev"  [config] C:\Users\admin\AppData\Roaming/R/config/R/energyRt/config.yml
#>   neos_endpoint               "https://neos-server.org:3333"  [default]
#>   path_builders               list()                      [default]
#>   profile_dir                 ""                          [default]
#>   progress_bar                TRUE                        [default]
#>   python_path                 "C:/Users/admin/.conda/envs/energyrt-solve/"  [config] C:\Users\admin\AppData\Roaming/R/config/R/energyRt/config.yml
#>   registry_file               "energyRt_registry.csv"     [default]
#>   reports_path                "reports/"                  [default]
#>   repositories_path           "repositories/"             [default]
#>   scenarios_path              "scenarios/"                [default]
#>   solver                      list(name="glpk", lang="GLPK")  [config] C:\Users\admin\AppData\Roaming/R/config/R/energyRt/config.yml
#>   storage_compression         "zstd"                      [default]
#>   storage_compression_level   15                          [default]
#>   storage_format              "feather"                   [default]
#>   verbose                     0                           [default]
#> 
#> ℹ Priority: R option > env var > ./.energyRt.yml > C:\Users\admin\AppData\Roaming/R/config/R/energyRt/config.yml > default