This function installs the ApsimNG simulation software on the local system.
It handles the download and installation process for the APSIM Next Generation
agricultural modeling platform.
Character string specifying the repository of ApsimNG to install.
branch
Character string specifying the branch of the repository to install.
install_dir
Character string specifying the directory where ApsimNG
should be installed.
overwrite
Logical. If TRUE, overwrites any existing installation
at the specified install directory.
Details
This function downloads and installs ApsimNG from the official repository.
It performs version checking, handles dependencies, and configures the
installation for use with R. The function requires administrative privileges
on Windows systems.