Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[R-package] remove readRDS.lgb.Booster() and saveRDS.lgb.Booster() #6246

Merged
merged 1 commit into from
Dec 22, 2023

Conversation

jameslamb
Copy link
Collaborator

#4685 made it possible to use readRDS() / saveRDS() from R's standard library with LightGBM Booster objects.

This PR proposes LightGBM-custom functions readRDS.lgb.Booster() / saveRDS.lgb.Booster() from the R package.

I think now's the right time to do that:

  • a version of {lightgbm} containing the readRDS() / saveRDS() support is now up on CRAN (release v4.2.0 #6191 (comment))
  • that version contains a deprecation warning telling people to use readRDS() / saveRDs()
  • 0 packages on CRAN rely on readRDS.lgb.Booster() or saveRDS.lgb.Booster() (example GitHub search)

@jameslamb jameslamb merged commit 4588d64 into master Dec 22, 2023
41 checks passed
@jameslamb jameslamb deleted the r/serialization branch December 22, 2023 20:30
@jameslamb jameslamb mentioned this pull request Jan 17, 2024
22 tasks
@PhilippPro
Copy link

Thanks for the improvement, we were using readRDS.lgb.Booster.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants