Skip to content

Commit

Permalink
linter, namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
david-cortes committed Oct 14, 2021
1 parent ada260b commit 0d551a0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions R-package/NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion R-package/R/lgb.Booster.R
Original file line number Diff line number Diff line change
Expand Up @@ -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))

},
Expand Down

0 comments on commit 0d551a0

Please sign in to comment.