summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-spatialeco/package.py
blob: 8b29bb5ef4911577e35f2639c00ce405d0aa66b5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# Copyright 2013-2023 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.package import *


class RSpatialeco(RPackage):
    """Spatial Analysis and Modelling Utilities.

    Utilities to support spatial data manipulation, query, sampling and
    modelling. Functions include models for species population density,
    download utilities for climate and global deforestation spatial products,
    spatial smoothing, multivariate separability, point process model for
    creating pseudo- absences and sub-sampling, polygon and point-distance
    landscape metrics, auto-logistic model, sampling models, cluster
    optimization, statistical exploratory tools and raster-based metrics."""

    cran = "spatialEco"

    version("2.0-0", sha256="9a2384e875ec465d1a2ccd392acc90d4469eb62babd32bb90e30b27a921153f6")
    version("1.3-7", sha256="38688466d9a2a56675e2fe45cf69833a163133ad3afb6f95e9ac2e8eab221b7a")
    version("1.3-5", sha256="d4fb211124edf828333841c44a5af01165c53d89af460144214d81e3c13983c7")
    version("1.3-2", sha256="9dfa427ee8b112446b582f6739a1c40a6e3ad3d050f522082a28ce47c675e57a")
    version("1.3-1", sha256="ff12e26cc1bbf7934fbf712c99765d96ce6817e8055faa15a26d9ebade4bbf1c")
    version("1.3-0", sha256="cfa09673cb3bbed30b243082fc2d63ac09f48b9f072a18d32b95c2c29979d1d0")

    depends_on("r@3.6:", type=("build", "run"))
    depends_on("r@4.0:", type=("build", "run"), when="@1.3-7:")
    depends_on("r-sf", type=("build", "run"))
    depends_on("r-spatstat-explore", type=("build", "run"), when="@2.0-0:")
    depends_on("r-terra", type=("build", "run"), when="@2.0-0:")
    depends_on("r-spatstat-geom", type=("build", "run"), when="@1.3-7:")
    depends_on("r-spatstat-geom@3.0-3:", type=("build", "run"), when="@2.0-0:")
    depends_on("r-spdep", type=("build", "run"))
    depends_on("r-spatialpack@0.3:", type=("build", "run"))
    depends_on("r-envstats", type=("build", "run"))
    depends_on("r-mgcv", type=("build", "run"))
    depends_on("r-yaimpute", type=("build", "run"))
    depends_on("r-rms", type=("build", "run"))
    depends_on("r-rann", type=("build", "run"))
    depends_on("r-rcurl", type=("build", "run"))
    depends_on("r-readr", type=("build", "run"))
    depends_on("r-cluster", type=("build", "run"))
    depends_on("r-ks", type=("build", "run"), when="@2.0-0:")
    depends_on("r-mass", type=("build", "run"))

    depends_on("r-dplyr", type=("build", "run"), when="@:1.3-2")
    depends_on("r-exactextractr", type=("build", "run"), when="@:1.3-2")
    depends_on("r-maptools", type=("build", "run"), when="@:1.3-2")
    depends_on("r-spatstat", type=("build", "run"), when="@:1.3-5")
    depends_on("r-raster", type=("build", "run"), when="@:1.3-7")
    depends_on("r-rgeos", type=("build", "run"), when="@:1.3-7")
    depends_on("r-sp", type=("build", "run"), when="@:1.3-7")
    depends_on("r-spatstat-core", type=("build", "run"), when="@1.3-7:1.3-7")