diff options
-rw-r--r-- | var/spack/repos/builtin/packages/r-spatial/package.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-spatial/package.py b/var/spack/repos/builtin/packages/r-spatial/package.py new file mode 100644 index 0000000000..6129cf5865 --- /dev/null +++ b/var/spack/repos/builtin/packages/r-spatial/package.py @@ -0,0 +1,19 @@ +# Copyright 2013-2019 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 RSpatial(RPackage): + """spatial: Functions for Kriging and Point Pattern Analysis""" + + homepage = "https://cran.r-project.org/package=spatial" + url = "https://cran.r-project.org/src/contrib/spatial_7.3-11.tar.gz" + list_url = "https://cran.r-project.org/src/contrib/Archive/spatial" + + version('7.3-11', sha256='624448d2ac22e1798097d09fc5dc4605908a33f490b8ec971fc6ea318a445c11') + + depends_on('r@3.0.0:', type=('build', 'run')) + depends_on('r-mass', type=('build', 'run')) |