-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues with R < 4.0 #107
Comments
It might be equivalent, but I think current best practice is to use
The change from using only
Well, apparently it was telegraphed to those of us for whom it broke our packages on CRAN... |
The R_CLASS_MATRIX_ARRAY changes for Rv4 were implemented in I've taken the change from @josephwb credited in the This is now deployed on the
or
Should work for older R versions (@josephwb, please let me know if it's the case so that I can close this issue). |
Installed and running. Thanks. |
We were unable to install
dispRity
, whether from CRAN or github:This was surprising, since no other phylo packages (that I am aware of) require such recent versions of R. For example:
Changing the R version in the
DESCRIPTION
file to R (>= 3.5) revealed an odd issue with Rv4. During error-checking,dispRity
checks the class of data. Weirdly, Rv4 has a different class for a matrix than does Rv3.*:Let's construct an example to demonstrate the problem:
The dispRity error check is essentially the following (where it is clear why things fail when there is only a single class attribute):
However, we can make a general check that works for both R versions:
Yay! This is currently implemented in my fork. However, will submit a PR as it is a bit of a pain to update R itself just to install one package (^_-)≡☆
The text was updated successfully, but these errors were encountered: