Description Usage Arguments Value Note Author(s) Examples
The function check that GDAL is installed and updated to the minimum required version (2.1.3, since previous versions do not manage SAFE format).
1 | check_gdal(abort = TRUE, force = FALSE)
|
abort |
Logical parameter: if TRUE (default), the function aborts in case no GDAL installation is found; if FALSE, a warning is shown and FALSE is returned. |
force |
(optional) Logical: if TRUE, install even if it is already installed (default is FALSE). |
Logical (invisible): TRUE in case the installation is ok, FALSE if GDAL is missing and abort=FALSE (otherwise, the function stops).
License: GPL 3.0
Luigi Ranghetti, phD (2017) ranghetti.l@irea.cnr.it
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
# Remove previous GDAL information
options("gdalUtils_gdalPath" = NULL)
getOption("gdalUtils_gdalPath")
# Use function
check_gdal()
getOption("gdalUtils_gdalPath")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.