A fast, distributed, high performance gradient boosting (GBT, GBDT, GBRT, GBM or MART) framework based on decision tree algorithms, used for ranking, classification and many other machine learning tasks.
This PR modifies the R C-level function code to call the versions of protect/unprotect that have Rf_ prefixes. This is currently not required by CRAN as their non-Rf equivalents PROTECT/UNPROTECT are simple defines aliasing to Rf_protect/Rf_unprotect, but the situation might change in the future.
From similar PR in XGBoost: https://github.com/dmlc/xgboost/pull/10465
This PR modifies the R C-level function code to call the versions of protect/unprotect that have
Rf_
prefixes. This is currently not required by CRAN as their non-Rf equivalentsPROTECT
/UNPROTECT
are simple defines aliasing toRf_protect
/Rf_unprotect
, but the situation might change in the future.