[R] [ci] remove dependency on {devtools} (#8563)

This commit is contained in:
James Lamb
2022-12-08 11:21:28 -06:00
committed by GitHub
parent fbe40d00d8
commit ffee35e0f0
6 changed files with 10 additions and 7 deletions

View File

@@ -16,7 +16,7 @@ The parameter `nthread` controls the number of cores to run on, please set it to
To install the R-package of xgboost, please run
```r
devtools::install_github('tqchen/xgboost',subdir='R-package')
install.packages("xgboost", repos = "https://cran.r-project.org")
```
Windows users may need to install [RTools](http://cran.r-project.org/bin/windows/Rtools/) first.