summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-spatialpack/package.py
blob: 8e996635505157dd587b5de314899ed2b2cd2f76 (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
# Copyright 2013-2024 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 RSpatialpack(RPackage):
    """Tools to assess the association between two spatial processes.

    Tools to assess the association between two spatial processes. Currently,
    several methodologies are implemented: A modified t-test to perform
    hypothesis testing about the independence between the processes, a suitable
    nonparametric correlation coefficient, the codispersion coefficient, and an
    F test for assessing the multiple correlation between one spatial process
    and several others. Functions for image processing and computing the
    spatial association between images are also provided."""

    cran = "SpatialPack"

    version("0.4", sha256="8b7fbc6d9f962d4b982777bfc794b99d827d3f33cc07058372f73dff1210188d")
    version("0.3-8196", sha256="9027e1656db97b721a12f5eda46532c6a99b4a079299b8d12fb57d445b237b4d")
    version("0.3-8", sha256="a0e54b5dee3cd30a634e2d30380fe163942b672073fd909be888803332ed5151")
    version("0.3", sha256="4c80fc1c77bc97fc678e6e201ecf7f0f89dcf3417b3b497a28a3639e9b30bd8a")

    depends_on("r@2.10:", type=("build", "run"))
    depends_on("r@3.5.0:", type=("build", "run"), when="@0.3-8196:")
    depends_on("r-fastmatrix", type=("build", "run"), when="@0.3-8196:")