[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

@@ -313,7 +313,7 @@ Installing the development version (Linux / Mac OSX)
Make sure you have installed git and a recent C++ compiler supporting C++11 (See above
sections for requirements of building C++ core).
Due to the use of git-submodules, ``devtools::install_github`` can no longer be used to
Due to the use of git-submodules, ``remotes::install_github()`` cannot be used to
install the latest version of R package. Thus, one has to run git to check out the code
first, see :ref:`get_source` on how to initialize the git repository for XGBoost. The
simplest way to install the R package after obtaining the source code is: