blob: 079e4aed67eae59b6909fe680fb15b3b9bc9e2f8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Copyright 2013-2020 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://cloud.r-project.org/package=gbm"
url = "https://cloud.r-project.org/src/contrib/gbm_2.1.3.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/gbm"
version('2.1.5', sha256='06fbde10639dfa886554379b40a7402d1f1236a9152eca517e97738895a4466f')
version('2.1.3', sha256='eaf24be931d762f1ccca4f90e15997719d01005f152160a3d20d858a0bbed92b')
depends_on('r@2.9.0:', type=('build', 'run'))
depends_on('r-gridextra', when='@2.1.5:', type=('build', 'run'))
depends_on('r-survival', type=('build', 'run'))
depends_on('r-lattice', type=('build', 'run'))
|