summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-rms/package.py
blob: a14c2404c252411b6cab36e3ad8b9deb2e4903e6 (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
57
58
59
60
61
# 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 RRms(RPackage):
    """Regression Modeling Strategies.

    Regression modeling, testing, estimation, validation, graphics, prediction,
    and typesetting by storing enhanced model design attributes in the fit.
    'rms' is a collection of functions that assist with and streamline
    modeling. It also contains functions for binary and ordinal logistic
    regression models, ordinal models for continuous Y with a variety of
    distribution families, and the Buckley-James multiple regression model for
    right-censored responses, and implements penalized maximum likelihood
    estimation for logistic and ordinary linear models. 'rms' works with almost
    any regression model, but it was especially written to work with binary or
    ordinal regression models, Cox regression, accelerated failure time models,
    ordinary linear models, the Buckley-James model, generalized least squares
    for serially or spatially correlated observations, generalized linear
    models, and quantile regression."""

    cran = "rms"

    license("GPL-2.0-or-later")

    version("6.6-0", sha256="f3abadb94339f3aedadd27e1aceade069bcb53c94bf246626b0dc94b16b6625c")
    version("6.3-0", sha256="6c41eb670daf5e4391cc2f2a19e20a591f90769c124300a7ccf555820140d3f9")
    version("6.2-0", sha256="10d58cbfe39fb434223834e29e5248c9384cded23e6267cfc99367d0f5ee24b6")
    version("6.1-0", sha256="b89ec3b9211a093bfe83a2a8107989b5ce3b7b7c323b88a5d887d99753289f52")
    version("5.1-4", sha256="38f5844c4944a95b2adebea6bb1d163111270b8662399ea0349c45c0758076a6")
    version("5.1-3.1", sha256="0946d9547a4e3ff020a61ab3fce38f88aa9545729683e2bfefeb960edec82b37")
    version("5.1-3", sha256="5fc7120d8a93b4aa9727d82eac368c5c47ff70f467ae2b012afac688235089eb")
    version("5.1-2", sha256="f1cfeef466ac436105756679353a3468027d97a600e3be755b819aef30ed9207")
    version("5.1-1", sha256="c489948df5c434b40bcf5288844f5b4e08d157f36939d09230c1600f88d1bfe3")

    depends_on("r@3.5.0:", type=("build", "run"))
    depends_on("r-hmisc@4.3-0:", type=("build", "run"))
    depends_on("r-hmisc@4.7-0:", type=("build", "run"), when="@6.3-0:")
    depends_on("r-hmisc@4.8-0:", type=("build", "run"), when="@6.6-0:")
    depends_on("r-survival@3.1-6:", type=("build", "run"))
    depends_on("r-survival@3.1-12:", type=("build", "run"), when="@6.1-0:")
    depends_on("r-ggplot2@2.2:", type=("build", "run"))
    depends_on("r-sparsem", type=("build", "run"))
    depends_on("r-quantreg", type=("build", "run"))
    depends_on("r-rpart", type=("build", "run"))
    depends_on("r-nlme@3.1-123:", type=("build", "run"))
    depends_on("r-polspline", type=("build", "run"))
    depends_on("r-multcomp", type=("build", "run"))
    depends_on("r-htmltable@1.11.0:", type=("build", "run"))
    depends_on("r-htmltools", type=("build", "run"))
    depends_on("r-mass", type=("build", "run"), when="@6.1-0:")
    depends_on("r-cluster", type=("build", "run"), when="@6.1-0:")
    depends_on("r-digest", type=("build", "run"), when="@6.1-0:")
    depends_on("r-knitr", type=("build", "run"), when="@6.6-0:")
    depends_on("r-kableextra", type=("build", "run"), when="@6.6-0:")
    depends_on("r-colorspace", type=("build", "run"), when="@6.6-0:")
    depends_on("r-lattice", type=("build", "run"), when="@:6.3-0")