65 lines
3.6 KiB
Python
65 lines
3.6 KiB
Python
# Copyright Spack Project Developers. See 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.8-1", sha256="9d38545749430763c242bae1181ce24a7f6f6b244e4c69348ab200b83925596a")
|
|
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@4.1.0:", type=("build", "run"), when="@6.8-0:")
|
|
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-hmisc@5.1-0:", type=("build", "run"), when="@6.8-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-colorspace", type=("build", "run"), when="@6.6-0:")
|
|
depends_on("r-lattice", type=("build", "run"), when="@:6.3-0")
|
|
|
|
depends_on("r-kableextra", type=("build", "run"), when="@6.6-0:6.7-0")
|