Add several new R packages (#2952)
* Add several new R packages * Add a few more R packages * Update more versions * Convert Package to RPackage * Add a few more packages * Add missing dependencies
This commit is contained in:

committed by
Todd Gamblin

parent
19cf7a2833
commit
0c0a1fdedc
@@ -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'))
|
||||
|
Reference in New Issue
Block a user