summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-ade4/package.py
blob: 4db3ebfb33704f8af19cb4f956c4abf280fa2255 (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
# Copyright 2013-2022 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 RAde4(RPackage):
    """Analysis of Ecological Data : Exploratory and Euclidean Methods in
    Environmental Sciences

    Tools for multivariate data analysis. Several methods are provided for the
    analysis (i.e., ordination) of one-table (e.g., principal component
    analysis, correspondence analysis), two-table (e.g., coinertia analysis,
    redundancy analysis), three-table (e.g., RLQ analysis) and K-table (e.g.,
    STATIS, multiple coinertia analysis). The philosophy of the package is
    described in Dray and Dufour (2007) <doi:10.18637/jss.v022.i04>."""

    homepage = "https://pbil.univ-lyon1.fr/ADE-4"
    url      = "https://cloud.r-project.org/src/contrib/ade4_1.7-6.tar.gz"
    list_url = "https://cloud.r-project.org/src/contrib/Archive/ade4"

    version('1.7-16', sha256='9bd7a25ff4fe30a32fd8f6b71909f4c638a0e2f002fc8303c0a4795423385590')
    version('1.7-13', sha256='f5d0a7356ae63f82d3adb481a39007e7b0d70211b8724aa686af0c89c994e99b')
    version('1.7-11', sha256='4ccd799ae99bd625840b866a697c4a48adb751660470bf0d6cf9207b1927a572')
    version('1.7-6', sha256='80848e1650dcc0ec921c130efa6f7e9b307f0d107c63e49faa52296eda19cc52')

    depends_on('r@2.10:', type=('build', 'run'))
    depends_on('r-mass', type=('build', 'run'))
    depends_on('r-pixmap', when='@1.7-16:', type=('build', 'run'))
    depends_on('r-sp', when='@1.7-16:', type=('build', 'run'))
    depends_on('r-progress', when='@1.7-16:', type=('build', 'run'))