Mnumeric issue

51 views
Skip to first unread message

Nick Matzke

unread,
Feb 1, 2023, 4:54:46 PM2/1/23
to bioge...@googlegroups.com
Hi all,

Apologies I missed the questions about "Mnumeric".  I have given 2 workshops recently and not seen this, so perhaps the issue has been fixed.  It looks like it is an issue with the Matrix package, or some other package that uses Matrix as a dependency.

If you get errors like this:

===================
tipranges = getranges_from_LagrangePHYLIP(lgdata_fn=geogfn)
Read 2 items
Read 310 items
Error in validObject(.Object) :
   invalid class “tipranges” object: superclass "Mnumeric" not defined in the environment of the object's class
> tipranges
Error: object 'tipranges' not found"
===================


...try switching to a different version of the Matrix package (it may be that the newest versions work also, given that the workshops were OK).

===================
remove.packages("Matrix")
packageurl <- "https://cran.r-project.org/src/contrib/Archive/Matrix/Matrix_1.3-2.tar.gz" install.packages(packageurl, repos=NULL, type="source")
===================

("Mnumeric" probably stands for "Matrix Numeric", and perhaps some change to the Matrix package has filtered up to BioGeoBEARS.)

Please report back if something like the above works!

Cheers!
Nick
Reply all
Reply to author
Forward
0 new messages