Download specified version of EnergyPlus for your platform from GitHub and install it.
install_eplus(ver = "latest", force = FALSE)download_eplus(ver = "latest", dir = getwd())
The EnergyPlus version number, e.g., 8.7
; the special value
"latest"
means the latest version (fetched from GitHub releases).
Whether to install EnergyPlus even if it has already been installed.
Where to save EnergyPlus installer file. Default is current
working directory. Only applicable to download_eplus()
. For
install_eplus()
, it will be saved into tempdir()
.
This function will try to install EnergyPlus into the default location, e.g.
C:/EnergyPlusVX-Y-0
on Windows, /usr/local/EnergyPlus-X-Y-0
on
Linux, and /Applications/EnergyPlus-X-Y-0
on MacOS.
Note that the installation process requires administrative privileges required during the installation and you may need to pass password to enable sudo commands used for installation.