summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-projpred/package.py
blob: f1d22c154654a3da1f1c1f4a3c31ee271eb22378 (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
# Copyright 2013-2021 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 RProjpred(RPackage):
    """Projection Predictive Feature Selection:

    Performs projection predictive feature selection for generalized linear
    models and generalized linear and additive multilevel models (see,
    Piironen, Paasiniemi and Vehtari, 2020,
    <https://projecteuclid.org/euclid.ejs/1589335310>, Catalina, Burkner and
    Vehtari, 2020, <arXiv:2010.06994>). The package is compatible with the
    'rstanarm' and 'brms' packages, but other reference models can also be
    used. See the package vignette for more information and examples."""

    homepage = "https://mc-stan.org/projpred/"
    cran     = "projpred"

    version('2.0.2', sha256='af0a9fb53f706090fe81b6381b27b0b6bd3f7ae1e1e44b0ada6f40972b09a55b')

    depends_on('r@3.5.0:', type=('build', 'run'))
    depends_on('r-dplyr', type=('build', 'run'))
    depends_on('r-loo@2.0.0:', type=('build', 'run'))
    depends_on('r-rstantools@2.0.0:', type=('build', 'run'))
    depends_on('r-lme4', type=('build', 'run'))
    depends_on('r-optimx', type=('build', 'run'))
    depends_on('r-ggplot2', type=('build', 'run'))
    depends_on('r-rcpp', type=('build', 'run'))
    depends_on('r-rngtools@1.2.4:', type=('build', 'run'))
    depends_on('r-tidyverse', type=('build', 'run'))
    depends_on('r-mass', type=('build', 'run'))
    depends_on('r-magrittr', type=('build', 'run'))
    depends_on('r-mgcv', type=('build', 'run'))
    depends_on('r-gamm4', type=('build', 'run'))
    depends_on('r-rcpparmadillo', type=('build', 'run'))