| 316 | } |
| 317 | |
| 318 | LGBM_SE LGBM_BoosterCreateFromModelfile_R(LGBM_SE filename, |
| 319 | LGBM_SE out, |
| 320 | LGBM_SE call_state) { |
| 321 | R_API_BEGIN(); |
| 322 | int out_num_iterations = 0; |
| 323 | BoosterHandle handle = nullptr; |
| 324 | CHECK_CALL(LGBM_BoosterCreateFromModelfile(R_CHAR_PTR(filename), &out_num_iterations, &handle)); |
| 325 | R_SET_PTR(out, handle); |
| 326 | R_API_END(); |
| 327 | } |
| 328 | |
| 329 | LGBM_SE LGBM_BoosterLoadModelFromString_R(LGBM_SE model_str, |
| 330 | LGBM_SE out, |
nothing calls this directly
no test coverage detected