summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-mda/package.py
blob: ea00d0f377f547beccc0367b3cdfcde383d7af0b (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
# 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 RMda(RPackage):
    """Mixture and Flexible Discriminant Analysis.

    Mixture and flexible discriminant analysis, multivariate adaptive
    regression splines (MARS), BRUTO."""

    cran = "mda"

    license("GPL-2.0-only")

    version("0.5-3", sha256="bda6409c17f385fae97da458cc742334e7b47aab8217a975b7551e2e18d38463")
    version("0.5-2", sha256="344f2053215ddf535d1554b4539e9b09067dac878887cc3eb995cef421fc00c3")
    version("0.4-10", sha256="7036bc622a8fea5b2de94fc19e6b64f5f0c27e5d743ae7646e116af08c9de6a5")
    version("0.4-9", sha256="b72456d2fa5b49895644489735d21cf4836d3d597f5e693e6103cce1887ffd85")

    depends_on("r@1.9.0:", type=("build", "run"))
    depends_on("r@3.5.0:", type=("build", "run"), when="@0.5-2:")
    depends_on("r-class", type=("build", "run"))