summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-gbm/package.py
blob: 53095839222d8e8a449a3458a6009908d5230e67 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Copyright 2013-2018 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 RGbm(RPackage):
    """Generalized Boosted Regression Models."""

    homepage = "https://cran.rstudio.com/web/packages/gbm/index.html"
    url      = "https://cran.rstudio.com/src/contrib/gbm_2.1.3.tar.gz"

    version('2.1.3', '9b2f32c892c6e31b01c1162e3b16b3f4')

    depends_on('r-survival', type=('build', 'run'))
    depends_on('r-lattice', type=('build', 'run'))