Conversation
|
I don't know if this is the right place to put this, but I was having trouble using R in an anaconda env (only supports r-base 4.3, and reticulate needs matrix. The complete fix was this. install.packages('lattice') This is all documented above, but here it is concisely put. |
|
R-forge seems to host all of the versions, so you can always get an appropriate version with
|
|
This pull request has been automatically locked since there has not been any recent activity since it was closed. |
fixes #6433
R 4.4.0 was released 4 days ago. In that same timeframe, the latest version of
{Matrix}was released with a floor ofDepends: R (>=4.4.0).As a result, running
install.packages("Matrix")on any version of R older than v4.4.0 fails to install{Matrix}.{lightgbm}tries to maintain compatibility withR >= 3.6, so this broke most of this project's CI jobs 🙃This PR tries to fix it by manually installing
{Matrix}from old sources, as recommended in "Writing R Extensions" (see links in #6433).Notes for Reviewers
Maybe this will be fixed in the future?
I'm not really understanding this discussion on R-devel about it: https://stat.ethz.ch/pipermail/r-devel/2024-April/083383.html.
But there's a suggestion there that maybe in the near future
install.packages("Matrix")will select an older version when run on versions of R prior to v4.4.0.According to this post on
r-pkg-develfrom 3 weeks ago, this choice of>=4.4.0for the new{Matrix}was intentional, but the authors expected that R's tooling would hide that version from older R users: https://stat.ethz.ch/pipermail/r-package-devel/2024q2/010640.html.