Download specified version of EnergyPlus for your platform from GitHub and install it.
install_eplus(ver = "latest", force = FALSE) download_eplus(ver = "latest", dir)
The EnergyPlus version number, e.g.,
Whether to install EnergyPlus even if it has already been installed.
Where to save EnergyPlus installer file. For
An invisible integer
0 if succeed. Moreover, some attributes will
also be returned:
path: the EnergyPlus installation path
installer: the path of downloaded EnergyPlus installer file
file: the path of downloaded EnergyPlus installer file
download_eplus() downloads specified version of EnergyPlus from
EnergyPlus GitHub Repository.
install_eplus() will try to install EnergyPlus into the default location,
C:\EnergyPlusVX-Y-0 on Windows,
/Applications/EnergyPlus-X-Y-0 on macOS.
Note that the installation process requires administrative privileges during the installation and you have to run R with administrator (or with sudo if you are on Linux) to make it work if you are not in interactive mode.