install_aria2: Download and install aria2.

View source: R/install_aria2.R

install_aria2R Documentation

Download and install aria2.

Description

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

Usage

install_aria2(aria2_dir, force = FALSE)

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).

Value

The path of aria2

Note

License: GPL 3.0

Author(s)

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. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1016/j.cageo.2020.104473")}, URL: https://sen2r.ranghetti.info/.

Examples

## Not run: 
# Run only on Windows
install_aria2(aria2_dir = tempdir())
# ( use a non-temporary folder path instead of tempdir() )

## End(Not run)

sen2r documentation built on Nov. 10, 2023, 9:08 a.m.