change makefile to be compatible with r-travis

This commit is contained in:
hetong007
2015-06-16 11:30:11 -07:00
parent 5568f83a6c
commit 67f0b69a4c
2 changed files with 8 additions and 8 deletions

View File

@@ -145,6 +145,11 @@ Rpack:
cp xgboost/src/Makevars xgboost/src/Makevars.win
# R CMD build --no-build-vignettes xgboost
R CMD build xgboost
# rm -rf xgboost
# R CMD check --as-cran xgboost*.tar.gz
Rcheck:
make Rpack
rm -rf xgboost
R CMD check --as-cran xgboost*.tar.gz