summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-dismo/package.py
blob: db2db941308222e6912334bfe79ffad4c7ead088 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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'))