Skip to content

[RFC] [R-package] Drop R 3.x support?Β #7023

Closed

Description

@jameslamb

Description

Should we drop R 3.x support in the next release of LightGBM, moving {lightgbm}'s floor to R (>= 4.0)?

I was ready to do this over a year ago (#6442 (comment)) but then forgot about it. The work to move the C++ minimum to C++17 (#7016) inspired me to write this up.

Benefits of this work

I think that the benefits of R 3.x support in this project are now outweighed by the maintenance burden for it.

Notes

This should not be too disruptive to users at this point (especially given that it will probably be a few weeks-months until the next LightGBM release):

Looking for comments from anyone with an opinion: @guolinke @shiyu1994 @StrikerRUS @jmoralez @borchero @mayer79 @hcho3 @trivialfis

Activity

  1. chyunsu3 commented on Sep 8, 2025

    @chyunsu3
    Contributor

    +1 for requiring R 4.0+. XGBoost has been requiring R 4.3+ for some time now.

  2. mayer79 commented on Sep 8, 2025

    @mayer79
    Collaborator

    Let's drop 3.x support.

  3. StrikerRUS commented on Sep 8, 2025

    @StrikerRUS
    Collaborator

    I think that the benefits of R 3.x support in this project are now outweighed by the maintenance burden for it.

    Absolutely agree!

  4. jameslamb commented on Sep 8, 2025

    @jameslamb
    MemberAuthor

    Thanks all! I'll put up a PR tonight.

  5. added a commit that references this issue on Sep 9, 2025
    bc9fbce
  6. added a commit that references this issue on Sep 21, 2025
    b5e6b80
  7. added a commit that references this issue on Sep 24, 2025
    8d4ac68
  8. github-actions commented on Sep 30, 2026

    @github-actions
    Contributor

    This issue 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/lightgbm-org/LightGBM/issues including a reference to this.

  9. locked as resolved and limited conversation to collaborators on Sep 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions