Scalable, Portable and Distributed Gradient Boosting (GBDT, GBRT or GBM) Library, for Python, R, Java, Scala, C++ and more. Runs on single machine, Hadoop, Spark, Dask, Flink and DataFlow
which has instructions for running the Python linter and the C++ linter, but it doesn't have instructions for running the R linter which is checked in the CI jobs.
It doesn't seem to be a simple matter of executing the file tests/ci_build/lint_r.R, since it requires command line arguments to run.
Would be ideal to have instructions there about how to run the R linter too.
There is a section in the docs for running formatters locally: https://xgboost.readthedocs.io/en/stable/contrib/coding_guide.html#running-formatting-checks-locally
which has instructions for running the Python linter and the C++ linter, but it doesn't have instructions for running the R linter which is checked in the CI jobs.
It doesn't seem to be a simple matter of executing the file
tests/ci_build/lint_r.R
, since it requires command line arguments to run.Would be ideal to have instructions there about how to run the R linter too.