geomorph not available for R 4.3.1

178 views
Skip to first unread message

mura...@gmail.com

unread,
Aug 17, 2024, 11:25:15 PM8/17/24
to geomorph R package
I have an ubuntu 22.04 system with R 4.3.1. When I try to install geomorph, I get this:

> install.packages("geomorph")
Installing package into ‘/home/maga/R/x86_64-pc-linux-gnu-library/4.3’
(as ‘lib’ is unspecified)
Warning in install.packages :
  package ‘geomorph’ is not available for this version of R
‘geomorph’ version 4.0.8 is in the repositories but depends on R(>= 4.4.0)

A version of this package for your version of R might be available elsewhere,
see the ideas at
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages

I thought maybe geomorph 4.0.8 has some R 4.4 specific code, but on another system with R 4.2.1, same command works happily (didn't check which geomorph version it did bring though).

install_github() is also failing with the same error. Any suggestions (beyond switching 4.4?)

mura...@gmail.com

unread,
Aug 17, 2024, 11:32:09 PM8/17/24
to geomorph R package
I downloaded tar archives of older versions and used R CMD INSTALL. Works fine now. But strange that R doesn't bring the appropriate package for the specific version.

Mike Collyer

unread,
Aug 18, 2024, 6:54:22 AM8/18/24
to geomorph R package
Hi Murat,

The strict dependency of Matrix 1.7.0 on R >= 4.4.0 forced our hand.  We have a strong dependency on the Matrix library, especially for QR decompositions of sparse matrices, and found that different analytical results could be obtained between old and new versions of Matrix.  (Even though Matrix 1.7.0 has a strict dependency on R >= 4.4.0, older versions of Matrix still work with R >= 4.4.0, but not as intended.)

There is some information about this in the NEWS link for Matrix.  If one wishes to retain a pre-4.4.0 version of R, a pre-1.7 version of Matrix must also be used and likely older versions of RRPP and geomorph.  It looks like maybe a ubuntu update might mean R 4.4.0 of later versions could also be installed.

Sorry for the hassle.  It’s unfortunately something we could not avoid without a major overhaul of our packages and an abandonment of sparse matrix functions.

Best,
Mike

--
You received this message because you are subscribed to the Google Groups "geomorph R package" group.
To unsubscribe from this group and stop receiving emails from it, send an email to geomorph-r-pack...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/geomorph-r-package/a3e82245-3061-4954-bffe-f36d7d2c448dn%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages