sen2r (version 1.6.0)

install_aria2: Download and install aria2.

Description

This function download and install standalone version of aria2 for Windows.

Usage

install_aria2(aria2_dir, force = FALSE)

Value

The path of aria2

Arguments

aria2_dir

Path where aria2 executable will be installed.

force

(optional) Logical: if TRUE, install even if it is already installed (default is FALSE).

Author

Luigi Ranghetti, phD (2019)

References

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. tools:::Rd_expr_doi("10.1016/j.cageo.2020.104473"), URL: https://sen2r.ranghetti.info/.

Examples

Run this code
if (FALSE) {
# Run only on Windows
install_aria2(aria2_dir = tempdir())
# ( use a non-temporary folder path instead of tempdir() )
}

Run the code above in your browser using DataLab