diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/r-gbm/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/r-gbm/package.py | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/var/spack/repos/builtin/packages/r-gbm/package.py b/var/spack/repos/builtin/packages/r-gbm/package.py index bc2904d858..516971bcc5 100644 --- a/var/spack/repos/builtin/packages/r-gbm/package.py +++ b/var/spack/repos/builtin/packages/r-gbm/package.py @@ -7,19 +7,16 @@ from spack import * class RGbm(RPackage): - """Generalized Boosted Regression Models + """Generalized Boosted Regression Models. - An implementation of extensions to Freund and Schapire's AdaBoost - algorithm and Friedman's gradient boosting machine. Includes regression - methods for least squares, absolute loss, t-distribution loss, quantile - regression, logistic, multinomial logistic, Poisson, Cox proportional - hazards partial likelihood, AdaBoost exponential loss, Huberized hinge - loss, and Learning to Rank measures (LambdaMart). Originally developed by - Greg Ridgeway.""" + An implementation of extensions to Freund and Schapire's AdaBoost algorithm + and Friedman's gradient boosting machine. Includes regression methods for + least squares, absolute loss, t-distribution loss, quantile regression, + logistic, multinomial logistic, Poisson, Cox proportional hazards partial + likelihood, AdaBoost exponential loss, Huberized hinge loss, and Learning + to Rank measures (LambdaMart). Originally developed by Greg Ridgeway.""" - 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" + cran = "gbm" version('2.1.8', sha256='7d5de3b980b8f23275e86ac9bed48a497c9aa53c58e407dfd676309f38272ec1') version('2.1.5', sha256='06fbde10639dfa886554379b40a7402d1f1236a9152eca517e97738895a4466f') @@ -28,4 +25,5 @@ class RGbm(RPackage): depends_on('r@2.9.0:', type=('build', 'run')) depends_on('r-lattice', type=('build', 'run')) depends_on('r-survival', type=('build', 'run')) - depends_on('r-gridextra', when='@2.1.5', type=('build', 'run')) + + depends_on('r-gridextra', type=('build', 'run'), when='@2.1.5') |