Gábor Csárdi
2024-Apr-26 09:55 UTC
[Rd] R 4.4.0 has version of Matrix 1.7-0, but it's not available on CRAN
I don't know if this is a bug, but it is certainly weird. AFAICT R 4.4.0 has Matrix 1.7-0. However, currently CRAN has Package: Matrix Version: 1.6-5 Priority: recommended Depends: R (>= 3.5.0), methods ... (plus another version for R >= 4.5.0 only). Which has some weird consequences, e.g. if I have an R 4.4.0 installation without the recommended packages, I don't have a way of installing Matrix 1.7-0. Whereas R 4.4.0 installations with recommended packages come with Matrix 1.7-0. Gabor
Martin Maechler
2024-Apr-26 10:32 UTC
[Rd] R 4.4.0 has version of Matrix 1.7-0, but it's not available on CRAN
>>>>> G?bor Cs?rdi >>>>> on Fri, 26 Apr 2024 11:55:36 +0200 writes:> I don't know if this is a bug, but it is certainly weird. AFAICT R > 4.4.0 has Matrix 1.7-0. Yes, it *is* available from CRAN: You can see it when looking into the 4.4.0/ , specifically the 4.4.0/Recommended/ sub directory. Recommended packages should be built as part of R unless *you* really want to *not* get them by choosing at configure time, not to get them via extra flag --without-recommended-packages. So, well, you got what you wanted. > However, currently CRAN has > Package: Matrix > Version: 1.6-5 > Priority: recommended > Depends: R (>= 3.5.0), methods > ... Yes, because it has to provide Matrix to R versions before 4.4.0 and Matrix 1.7-0 has 'Depends: R (>= 4.4.0)' > (plus another version for R >= 4.5.0 only). > Which has some weird consequences, e.g. if I have an R 4.4.0 > installation without the recommended packages, (why would you explicitly choose *not* to have the recommended packages when they *are* recommended .. :-b ) > I don't have a way of installing Matrix 1.7-0. That's not true (see above), but it maybe true that install.packages() does not work directly -- I guess you should get it to work with correct function arguments; if not, you'd definitely have found a missing feature... .. *and* Rstudio button clicking works even less, because it does not allow to specify the install.packages() call. .. and yes, ideally install.packages() would be smart enough to figure that Matrix is recommended *and* that it should therefore try the same location ( ./4.4.0/Recommended/ in this case) as R's own tools/rsync-recommended script does. Finally, I'd think it definitely would be nice for install.packages("Matrix") to automatically get the correct Matrix version from CRAN ... so we (R-core) would be grateful for a patch to install.packages() to achieve this (unless that patch is too large or too much involved for reliable maintenance). Martin > Whereas R 4.4.0 installations with > recommended packages come with Matrix 1.7-0. > Gabor
Reasonably Related Threads
- R 4.4.0 has version of Matrix 1.7-0, but it's not available on CRAN
- R 4.4.0 has version of Matrix 1.7-0, but it's not available on CRAN
- R 4.4.0 has version of Matrix 1.7-0, but it's not available on CRAN
- Update to 7.4 using DVD
- compile error libvirt-python 4.5.0 - error: unknown type name ?virNWFilterBindingPtr?