summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-conquer/package.py
blob: ae0b337e99cab5b83d51db3131e766e1f2eb5a80 (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
# Copyright 2013-2022 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 RConquer(RPackage):
    """Convolution-Type Smoothed Quantile Regression

    Fast and accurate convolution-type smoothed quantile regression.
    Implemented using Barzilai-Borwein gradient descent with a Huber regression
    warm start. Construct confidence intervals for regression coefficients
    using multiplier bootstrap."""

    homepage = "https://github.com/XiaoouPan/conquer"
    cran = "conquer"

    version('1.2.1', sha256='1354f90f962a2124e155227cdc0ed2c6e54682f1e08934c49a827e51dc112f45')
    version('1.0.2', sha256='542f6154ce1ffec0c1b4dd4e1f5b86545015f4b378c4c66a0840c65c57d674ff')

    depends_on('r@3.5.0:', type=('build', 'run'))
    depends_on('r-rcpp@1.0.3:', type=('build', 'run'))
    depends_on('r-matrix', type=('build', 'run'))
    depends_on('r-matrixstats', type=('build', 'run'))
    depends_on('r-caret', when='@1.2:', type=('build', 'run'))
    depends_on('r-rcpparmadillo@0.9.850.1.0:', type=('build', 'run'))