khabbazian / l1ou

Detection of evolutionary shifts in Ornstein-Uhlenbeck models

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

matrix class warning

miltontan opened this issue · comments

Hi,

I assume this is relatively minor, but I am receiving the following warning message when I run functions that detect the class of input data:

Warning message:
In if (class(Y) != "matrix") { :
the condition has length > 1 and only the first element will be used

I believe this is related to how R v4 now has the class of matrices as a vector including "matrix" and "array".

@miltontan Hey Milton! I'm getting this same error on 4.1.1, running osx mojave. Was this ultimately a problem for you?

I suspect this was fixed by #51 (see also #50)