summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-cca/package.py
blob: c33b4e205c0b17727e3741a54a518c6f73afff4a (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
# 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 RCca(RPackage):
    """Canonical Correlation Analysis.

    Provides a set of functions that extend the 'cancor' function with new
    numerical and graphical outputs. It also include a regularized extension of
    the canonical correlation analysis to deal with datasets with more
    variables than observations."""

    cran = "CCA"

    version("1.2.1", sha256="28febfce7c46039240346410e70f9d8795b536fc4e7e0d48d5370bd23cba9bd0")

    depends_on("r@2.10:", type=("build", "run"))
    depends_on("r-fields", type=("build", "run"))
    depends_on("r-fda", type=("build", "run"))