diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/r-gdalutilities/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/r-gdalutilities/package.py | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-gdalutilities/package.py b/var/spack/repos/builtin/packages/r-gdalutilities/package.py new file mode 100644 index 0000000000..154299fce1 --- /dev/null +++ b/var/spack/repos/builtin/packages/r-gdalutilities/package.py @@ -0,0 +1,28 @@ +# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack import * + + +class RGdalutilities(RPackage): + """Wrappers for 'GDAL' Utilities Executables. + + R's 'sf' package ships with self-contained 'GDAL' executables, including a + bare bones interface to several 'GDAL'-related utility programs + collectively known as the 'GDAL utilities'. For each of those utilities, + this package provides an R wrapper whose formal arguments closely mirror + those of the 'GDAL' command line interface. The utilities operate on data + stored in files and typically write their output to other files. Therefore, + to process data stored in any of R's more common spatial formats (i.e. + those supported by the 'sp', 'sf', and 'raster' packages), first write them + to disk, then process them with the package's wrapper functions before + reading the outputted results back into R. GDAL function arguments + introduced in GDAL version 3.2.1 or earlier are supported.""" + + cran = "gdalUtilities" + + version('1.2.0', sha256='ead446f7f77f952b72b9ed80c5e415cb9d8d30cfb2439c8d1a8156fa55e2b65b') + + depends_on('r-sf', type=('build', 'run')) |