thibautjombart / adegenet

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

Move spdep to suggests #315

Closed zkamvar closed 2 years ago

zkamvar commented 2 years ago

I've gotten a request over at https://github.com/grunwaldlab/poppr/issues/247 to remove sf from the dependencies because the user has no need for these features.

It should be possible to move spdep to Suggests and add requireNamespace("spdep", quietly = TRUE) calls with an error that pops up to instruct the user to install spdep.