From 842e28fdcd65f0714c452e798ef23246f7019c4a Mon Sep 17 00:00:00 2001 From: Philip Hyunsu Cho Date: Wed, 18 Apr 2018 10:56:44 -0700 Subject: [PATCH] Fix RMinGW build error: dependency 'data.table' not available (#3257) The R package dependency 'data.table' is apparently unavailable in Windows binary format, resulting into the following build errors: * https://ci.appveyor.com/project/tqchen/xgboost/build/1.0.1810/job/hhanvg0c2cqpn7bc * https://ci.appveyor.com/project/tqchen/xgboost/build/1.0.1811/job/hg65t9wb3rt1f5k8 Fix: use type='both' to fall back to source when binary is unavailable --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index aa04937c1..5f7e54642 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -53,7 +53,7 @@ install: Import-Module "$Env:TEMP\appveyor-tool.ps1" Bootstrap $DEPS = "c('data.table','magrittr','stringi','ggplot2','DiagrammeR','Ckmeans.1d.dp','vcd','testthat','igraph','knitr','rmarkdown')" - cmd.exe /c "R.exe -q -e ""install.packages($DEPS, repos='$CRAN', type='win.binary')"" 2>&1" + cmd.exe /c "R.exe -q -e ""install.packages($DEPS, repos='$CRAN', type='both')"" 2>&1" } build_script: