TheoreticalEcosystemEcology / alien

Predict All Links In Ecological Networks
MIT License
12 stars 0 forks source link

New alienData format #46

Closed guiblanchet closed 5 years ago

guiblanchet commented 5 years ago

I rewrote alienData to correct a few issues that arose especially with traits but also other aspects of the format.

Some aspect have yet to be included in alienData that were in the previous version, but I was careful in leaving spots in the code to make these additions.

Because alienData is at the core of the package, this may break a few things with the functions using it (e.g. as.alienData).

In the next little while, I will write a set of methods (fit* function) that will rely on this new version of alienData.

SteveViss commented 5 years ago

You should avoid using the @importFrom. No need if the functions used are declared with their namespace (e.g. stats::model.matrix). The only and latest need is to update the DESCRIPTION file (import section)