Skip to contents

A one-call "am I ready?" entry point to run after energyRt is installed. It reports the operating system, prints the system libraries to install on Linux (report only — it never runs sudo), and prints the status tables from en_check_dependencies() (solver backends) and en_check_packages() (R packages, training extras, and external tools). It installs nothing itself: use the install_energyRt() bootstrap (see the Installation article) to install energyRt and its dependencies, and en_install_deps() to set up the solver-backend library layer.

Usage

en_setup(ref = "optimal2050/energyRt")

Arguments

ref

character. Package reference used to query system requirements on Linux (default "optimal2050/energyRt").

Value

A list, invisibly, with elements os (character), deps (the tibble from en_check_dependencies()) and packages (the tibble from en_check_packages()).

Examples

if (FALSE) { # \dontrun{
en_setup()
} # }