diff --git a/R-package/NAMESPACE b/R-package/NAMESPACE index 8df060d28605..6b584567cc0a 100644 --- a/R-package/NAMESPACE +++ b/R-package/NAMESPACE @@ -19,20 +19,21 @@ export(lgb.Dataset.set.categorical) export(lgb.Dataset.set.reference) export(lgb.convert_with_rules) export(lgb.cv) +export(lgb.drop_serialized) export(lgb.dump) export(lgb.get.eval.result) export(lgb.importance) export(lgb.interprete) export(lgb.load) +export(lgb.make_serializable) export(lgb.model.dt.tree) export(lgb.plot.importance) export(lgb.plot.interpretation) +export(lgb.restore_handle) export(lgb.save) export(lgb.train) export(lgb.unloader) export(lightgbm) -export(readRDS.lgb.Booster) -export(saveRDS.lgb.Booster) export(set_field) export(setinfo) export(slice) diff --git a/R-package/R/lgb.Booster.R b/R-package/R/lgb.Booster.R index 315542bbefd3..236d29b4d3fd 100644 --- a/R-package/R/lgb.Booster.R +++ b/R-package/R/lgb.Booster.R @@ -538,7 +538,7 @@ Booster <- R6::R6Class( # Store serialized raw bytes in model object save_raw = function() { if (is.null(self$raw)) - self$raw <- self$save_model_to_string(NULL, as_char=FALSE) + self$raw <- self$save_model_to_string(NULL, as_char = FALSE) return(invisible(NULL)) },