summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Stanley <molecuul@users.noreply.github.com>2018-10-31 05:28:09 -0500
committerMassimiliano Culpo <massimiliano.culpo@gmail.com>2018-10-31 11:28:09 +0100
commitabad2c97437c7cac365b2faeed8631f3b1d8c928 (patch)
tree93029dc7f2e3a33f5bd7d41b25a61f7058e53b03
parent2912cf3e17f8e4ea2389cb37bfd6bec744fc54d5 (diff)
downloadspack-abad2c97437c7cac365b2faeed8631f3b1d8c928.tar.gz
spack-abad2c97437c7cac365b2faeed8631f3b1d8c928.tar.bz2
spack-abad2c97437c7cac365b2faeed8631f3b1d8c928.tar.xz
spack-abad2c97437c7cac365b2faeed8631f3b1d8c928.zip
r-dismo: new package starting at 1.1-4 (#9675)
-rw-r--r--var/spack/repos/builtin/packages/r-dismo/package.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-dismo/package.py b/var/spack/repos/builtin/packages/r-dismo/package.py
new file mode 100644
index 0000000000..db2db94130
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-dismo/package.py
@@ -0,0 +1,21 @@
+# Copyright 2013-2018 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 RDismo(RPackage):
+ """Functions for species distribution modeling, that is, predicting
+ entire geographic distributions form occurrences at a number of sites
+ and the environment at these sites."""
+
+ homepage = "https://cran.r-project.org/package=dismo"
+ url = "https://cran.r-project.org/src/contrib/dismo_1.1-4.tar.gz"
+
+ version('1.1-4', sha256='f2110f716cd9e4cca5fd2b22130c6954658aaf61361d2fe688ba22bbfdfa97c8')
+
+ depends_on('r@3.2.0:', type=('build', 'run'))
+ depends_on('r-raster@2.5-2:', type=('build', 'run'))
+ depends_on('r-sp@1.2-0:', type=('build', 'run'))