| 445 | } |
| 446 | |
| 447 | LGBM_SE LGBM_BoosterGetEval_R(LGBM_SE handle, |
| 448 | LGBM_SE data_idx, |
| 449 | LGBM_SE out_result, |
| 450 | LGBM_SE call_state) { |
| 451 | R_API_BEGIN(); |
| 452 | int len; |
| 453 | CHECK_CALL(LGBM_BoosterGetEvalCounts(R_GET_PTR(handle), &len)); |
| 454 | double* ptr_ret = R_REAL_PTR(out_result); |
| 455 | int out_len; |
| 456 | CHECK_CALL(LGBM_BoosterGetEval(R_GET_PTR(handle), R_AS_INT(data_idx), &out_len, ptr_ret)); |
| 457 | CHECK(out_len == len); |
| 458 | R_API_END(); |
| 459 | } |
| 460 | |
| 461 | LGBM_SE LGBM_BoosterGetNumPredict_R(LGBM_SE handle, |
| 462 | LGBM_SE data_idx, |
nothing calls this directly
no test coverage detected