load_binpaths: Load the paths of external executables

Description Usage Arguments Value Note Author(s) Examples

View source: R/fct_load_binpaths.R

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", "aria2", "python". If an executable corresponding to the passed 'bins' value is not found in the JSON, it is checked (when possible).

Value

The list of the paths

Note

License: GPL 3.0

Author(s)

Luigi Ranghetti, phD (2019) luigi@ranghetti.info, Pascal Obstetar, (2020) pascal.obstetar@gmail.com

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# Load only existing paths
binpaths <- load_binpaths()
binpaths


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

## End(Not run)

pobsteta/shinyCNES documentation built on April 28, 2021, 9:43 a.m.