thibautjombart / adegenet

adegenet: a R package for the multivariate analysis of genetic markers
169 stars 64 forks source link

use inherits instead of class(x) == #275

Closed zkamvar closed 4 years ago

zkamvar commented 4 years ago

This is a fix for R 4.0. It was never previously caught because this part of the code has not been tested.

zkamvar commented 4 years ago

Maybe adding a test would also be prudent?

Yes, you are correct!