is there an equivalent to Matrix package for R431? I need to make lme4 package work

Since Matrix has a very restrictive R >= 4.4.0 condition i would suggest

install.packages('Matrix', repos = "https://packagemanager.posit.co/cran/2024-01-12")

This will give you the 1.6-5 version of the Matrix package where they had only the restriction R>=3.5.0 so you should be safe.

You can't it is a dependency of lme4 and it won't work without the Matrix package being installed.

1 Like