summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-xgboost/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/r-xgboost/package.py')
-rw-r--r--var/spack/repos/builtin/packages/r-xgboost/package.py15
1 files changed, 11 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/r-xgboost/package.py b/var/spack/repos/builtin/packages/r-xgboost/package.py
index 766191dcc1..4246d73e49 100644
--- a/var/spack/repos/builtin/packages/r-xgboost/package.py
+++ b/var/spack/repos/builtin/packages/r-xgboost/package.py
@@ -37,12 +37,19 @@ class RXgboost(RPackage):
users are also allowed to define their own objectives easily."""
homepage = "https://github.com/dmlc/xgboost"
- url = "https://cran.r-project.org/src/contrib/xgboost_0.4-4.tar.gz"
+ url = "https://cran.r-project.org/src/contrib/xgboost_0.6-4.tar.gz"
list_url = "https://cran.r-project.org/src/contrib/Archive/xgboost"
+ version('0.6-4', '86e517e3ce39f8a01de796920f6b425e')
version('0.4-4', 'c24d3076058101a71de4b8af8806697c')
- depends_on('r-matrix', type=('build', 'run'))
- depends_on('r-datatable', type=('build', 'run'))
- depends_on('r-magrittr', type=('build', 'run'))
+ depends_on('r@3.3.0:')
+
+ depends_on('r-matrix@1.1-0:', type=('build', 'run'))
+ depends_on('r-data-table@1.9.6:', type=('build', 'run'))
+ depends_on('r-magrittr@1.5:', type=('build', 'run'))
+ depends_on('r-stringi@0.5.2:', type=('build', 'run'))
+
+ # This is not listed as required, but installation fails without it
+ # ERROR: dependency 'stringr' is not available for package 'xgboost'
depends_on('r-stringr', type=('build', 'run'))