From d409004f70d9e0cb0151e090a52081a790ca49df Mon Sep 17 00:00:00 2001 From: Glenn Johnson Date: Sat, 16 Jan 2021 08:10:57 -0600 Subject: [PATCH] new package: r-isoband (#20993) --- .../builtin/packages/r-isoband/package.py | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 var/spack/repos/builtin/packages/r-isoband/package.py diff --git a/var/spack/repos/builtin/packages/r-isoband/package.py b/var/spack/repos/builtin/packages/r-isoband/package.py new file mode 100644 index 0000000000..e8ed5f19e9 --- /dev/null +++ b/var/spack/repos/builtin/packages/r-isoband/package.py @@ -0,0 +1,22 @@ +# 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 RIsoband(RPackage): + """Generate Isolines and Isobands from Regularly Spaced Elevation Grids + + A fast C++ implementation to generate contour lines (isolines) and contour + polygons (isobands) from regularly spaced grids containing elevation + data.""" + + homepage = "https://github.com/wilkelab/isoband" + url = "https://cloud.r-project.org/src/contrib/isoband_0.2.3.tar.gz" + list_url = "https://cloud.r-project.org/src/contrib/Archive/isoband" + + version('0.2.3', sha256='f9d3318fdf6d147dc2e2c7015ea7de42a55fa33d6232b952f982df96066b7ffe') + + depends_on('r-testthat', type=('build', 'run'))