Companion to en_check_dependencies() (which covers the solver backends).
en_check_packages() reports whether energyRt's own R package dependencies and
the extra packages used in the training course are installed, plus the external
tools some of them need: a LaTeX engine for PDF reports (via tinytex) and
MuseScore for the gm music output. Like en_check_dependencies() it prints a
status table and returns the underlying tibble invisibly.
Usage
en_check_packages(
extras = c("ggplot2", "patchwork", "knitr", "rmarkdown", "tinytex", "sf", "gm"),
external = TRUE
)