diff options
author | Glenn Johnson <glenn-johnson@uiowa.edu> | 2021-03-22 06:45:58 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-22 12:45:58 +0100 |
commit | 346d880384075faad96b8612dfb94bef5792f846 (patch) | |
tree | 3abbc8e1a61b84e4ba4691a389c39e7a88d91a98 /var | |
parent | d838b8f51800cff44548cf9a3f7403af8cc0e720 (diff) | |
download | spack-346d880384075faad96b8612dfb94bef5792f846.tar.gz spack-346d880384075faad96b8612dfb94bef5792f846.tar.bz2 spack-346d880384075faad96b8612dfb94bef5792f846.tar.xz spack-346d880384075faad96b8612dfb94bef5792f846.zip |
r-mapview: added packages and dependencies (#22439)
Diffstat (limited to 'var')
6 files changed, 182 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-leafem/package.py b/var/spack/repos/builtin/packages/r-leafem/package.py new file mode 100644 index 0000000000..481a4dd957 --- /dev/null +++ b/var/spack/repos/builtin/packages/r-leafem/package.py @@ -0,0 +1,31 @@ +# Copyright 2013-2021 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 RLeafem(RPackage): + """'leaflet' Extensions for 'mapview' + + Provides extensions for packages 'leaflet' & 'mapdeck', many of which are + used by package 'mapview'. Focus is on functionality readily available in + Geographic Information Systems such as 'Quantum GIS'. Includes functions to + display coordinates of mouse pointer position, query image values via mouse + pointer and zoom-to-layer buttons. Additionally, provides a feature type + agnostic function to add points, lines, polygons to a map.""" + + homepage = "https://github.com/r-spatial/leafem" + cran = "leafem" + + version('0.1.3', sha256='6f123fc15efadb85d317c01003e3b7af5dc925cffe0bbe774b1b39b6bd67f304') + + depends_on('r@3.1.0:', type=('build', 'run')) + depends_on('r-base64enc', type=('build', 'run')) + depends_on('r-htmltools@0.3:', type=('build', 'run')) + depends_on('r-htmlwidgets', type=('build', 'run')) + depends_on('r-leaflet@2.0.1:', type=('build', 'run')) + depends_on('r-raster', type=('build', 'run')) + depends_on('r-sf', type=('build', 'run')) + depends_on('r-png', type=('build', 'run')) diff --git a/var/spack/repos/builtin/packages/r-leafpop/package.py b/var/spack/repos/builtin/packages/r-leafpop/package.py new file mode 100644 index 0000000000..853de99735 --- /dev/null +++ b/var/spack/repos/builtin/packages/r-leafpop/package.py @@ -0,0 +1,30 @@ +# Copyright 2013-2021 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 RLeafpop(RPackage): + """Include Tables, Images and Graphs in Leaflet Pop-Ups + + Creates 'HTML' strings to embed tables, images or graphs in pop-ups of + interactive maps created with packages like 'leaflet' or 'mapview'. Handles + local images located on the file system or via remote URL. Handles graphs + created with 'lattice' or 'ggplot2' as well as interactive plots created + with 'htmlwidgets'.""" + + homepage = "https://github.com/r-spatial/leafpop" + cran = "leafpop" + + version('0.0.6', sha256='3d9ca31d081ce8540a87790786840bde5f833543af608c53a26623c7874e722f') + + depends_on('r-base64enc', type=('build', 'run')) + depends_on('r-brew', type=('build', 'run')) + depends_on('r-htmltools', type=('build', 'run')) + depends_on('r-htmlwidgets', type=('build', 'run')) + depends_on('r-sf', type=('build', 'run')) + depends_on('r-svglite', type=('build', 'run')) + depends_on('r-uuid', type=('build', 'run')) diff --git a/var/spack/repos/builtin/packages/r-mapview/package.py b/var/spack/repos/builtin/packages/r-mapview/package.py new file mode 100644 index 0000000000..1faff97e73 --- /dev/null +++ b/var/spack/repos/builtin/packages/r-mapview/package.py @@ -0,0 +1,38 @@ +# Copyright 2013-2021 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 RMapview(RPackage): + """Interactive Viewing of Spatial Data in R + + Quickly and conveniently create interactive visualisations of spatial data + with or without background maps. Attributes of displayed features are fully + queryable via pop-up windows. Additional functionality includes methods to + visualise true- and false-color raster images and bounding boxes.""" + + homepage = "https://github.com/r-spatial/mapview" + cran = "mapview" + + version('2.9.0', sha256='170cb2b5e67cbeb177f87bd2eab1ecabc44a1042addbcd95a85b2ec4a00eb690') + + depends_on('r+X', type=('build', 'run')) + depends_on('r@3.6.0:', type=('build', 'run')) + depends_on('r-base64enc', type=('build', 'run')) + depends_on('r-htmltools', type=('build', 'run')) + depends_on('r-htmlwidgets', type=('build', 'run')) + depends_on('r-lattice', type=('build', 'run')) + depends_on('r-leafem', type=('build', 'run')) + depends_on('r-leaflet@2.0.0:', type=('build', 'run')) + depends_on('r-leafpop', type=('build', 'run')) + depends_on('r-png', type=('build', 'run')) + depends_on('r-raster', type=('build', 'run')) + depends_on('r-satellite', type=('build', 'run')) + depends_on('r-scales@0.2.5:', type=('build', 'run')) + depends_on('r-sf', type=('build', 'run')) + depends_on('r-sp', type=('build', 'run')) + depends_on('r-webshot', type=('build', 'run')) + depends_on('gmake', type='build') diff --git a/var/spack/repos/builtin/packages/r-satellite/package.py b/var/spack/repos/builtin/packages/r-satellite/package.py new file mode 100644 index 0000000000..9c0e604d4c --- /dev/null +++ b/var/spack/repos/builtin/packages/r-satellite/package.py @@ -0,0 +1,31 @@ +# Copyright 2013-2021 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 RSatellite(RPackage): + """Handling and Manipulating Remote Sensing Data + + Herein, we provide a broad variety of functions which are useful for + handling, manipulating, and visualizing satellite-based remote sensing + data. These operations range from mere data import and layer handling (eg + subsetting), over Raster* typical data wrangling (eg crop, extend), to more + sophisticated (pre-)processing tasks typically applied to satellite imagery + (eg atmospheric and topographic correction). This functionality is + complemented by a full access to the satellite layers' metadata at any + stage and the documentation of performed actions in a separate log file. + Currently available sensors include Landsat 4-5 (TM), 7 (ETM+), and 8 + (OLI/TIRS Combined), and additional compatibility is ensured for the + Landsat Global Land Survey data set.""" + + cran = "satellite" + + version('1.0.2', sha256='6447476bd31216e5abe504221e465677954d07419b4174ab4f4e4f7a197969c5') + + depends_on('r@2.10:', type=('build', 'run')) + depends_on('r-raster', type=('build', 'run')) + depends_on('r-plyr', type=('build', 'run')) + depends_on('r-rcpp@0.10.3:', type=('build', 'run')) diff --git a/var/spack/repos/builtin/packages/r-svglite/package.py b/var/spack/repos/builtin/packages/r-svglite/package.py new file mode 100644 index 0000000000..f8804f3ed5 --- /dev/null +++ b/var/spack/repos/builtin/packages/r-svglite/package.py @@ -0,0 +1,24 @@ +# Copyright 2013-2021 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 RSvglite(RPackage): + """An 'SVG' Graphics Device + + A graphics device for R that produces 'Scalable Vector Graphics'. 'svglite' + is a fork of the older 'RSvgDevice' package.""" + + homepage = "https://svglite.r-lib.org/" + cran = "svglite" + + version('2.0.0', sha256='76e625fe172a5b7ce99a67b6d631b037b3f7f0021cfe15f2e15e8851b89defa5') + + depends_on('r+X', type=('build', 'run')) + depends_on('r@3.0.0:', type=('build', 'run')) + depends_on('r-systemfonts@1.0.0:', type=('build', 'run')) + depends_on('r-cpp11', type=('build', 'run')) + depends_on('libpng') diff --git a/var/spack/repos/builtin/packages/r-systemfonts/package.py b/var/spack/repos/builtin/packages/r-systemfonts/package.py new file mode 100644 index 0000000000..e07c313761 --- /dev/null +++ b/var/spack/repos/builtin/packages/r-systemfonts/package.py @@ -0,0 +1,28 @@ +# Copyright 2013-2021 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 RSystemfonts(RPackage): + """System Native Font Finding + + Provides system native access to the font catalogue. As font handling + varies between systems it is difficult to correctly locate installed fonts + across different operating systems. The 'systemfonts' package provides + bindings to the native libraries on Windows, macOS and Linux for finding + font files that can then be used further by e.g. graphic devices. The main + use is intended to be from compiled code but 'systemfonts' also provides + access from R.""" + + homepage = "https://github.com/r-lib/systemfonts" + cran = "systemfonts" + + version('1.0.1', sha256='401db4d9e78e3a5e00b7a0b4fbad7fbb1c584734469b65fe5b7ebe1851c7a797') + + depends_on('r@3.2.0:', type=('build', 'run')) + depends_on('r-cpp11@0.2.1:', type=('build', 'run')) + depends_on('fontconfig') + depends_on('freetype') |