This function download and install standalone version of aria2 for Windows.
install_aria2(aria2_dir, force = FALSE)
Path where aria2 executable will be installed.
(optional) Logical: if TRUE, install even if it is already installed (default is FALSE).
The path of aria2
License: GPL 3.0
L. Ranghetti, M. Boschetti, F. Nutini, L. Busetto (2020). "sen2r": An R toolbox for automatically downloading and preprocessing Sentinel-2 satellite data. Computers & Geosciences, 139, 104473. doi:10.1016/j.cageo.2020.104473 , URL: https://sen2r.ranghetti.info/.
if (FALSE) {
# Run only on Windows
install_aria2(aria2_dir = tempdir())
# ( use a non-temporary folder path instead of tempdir() )
}