load_binpaths: Load the paths of external executables

Description Usage Arguments Value Note Author(s) Examples

Description

Internal function to load the paths of executables from the JSON where they are saved when installed.

Usage

1

Arguments

bins

Character vector with one of more of the following values: "gdal", sen2cor", "wget", "aria2", "python". If an executable corresponding to the passed bins value is not found in the JSON, it is installed (Windows) or checked (Linux).

Value

The list of the paths

Note

License: GPL 3.0

Author(s)

Luigi Ranghetti, phD (2018) ranghetti.l@irea.cnr.it

Examples

1
2
3
4
5
6
7
8
9
## Not run: 

# Load only existing paths
binpaths <- load_binpaths()

# Load paths, forcing to check GDAL and sen2cor
binpaths <- load_binpaths(c("gdal", "sen2cor"))

## End(Not run)

pobsteta/theia2r documentation built on May 25, 2019, 2:21 p.m.