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 unused code in lgb.params2str() #4337

Merged
merged 1 commit into from
Jun 4, 2021

Conversation

jameslamb
Copy link
Collaborator

@jameslamb jameslamb commented Jun 4, 2021

While starting to work on adding a deprecation warning for uses of ... in the R package (as part of #4310), I found some unused code that I think can be removed.

lgb.params2str(), an internal-only utility function, is only ever called with the single keyword argument params.

This PR proposes removing ... from that function's signature.

Contributes to #4226

Copy link
Collaborator

@StrikerRUS StrikerRUS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@jameslamb jameslamb merged commit 2b485ce into master Jun 4, 2021
@jameslamb jameslamb deleted the fix/unused-r-code branch June 4, 2021 13:57
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants