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

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

Examples

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