haganjam / InvTraitR

Pipeline to assign biomass-length allometry equations to a taxonomic name based on taxonomic hierarchy and geographic (or environmental) proximity
Other
3 stars 0 forks source link

move database #6

Closed black-snow closed 1 year ago

black-snow commented 1 year ago

I think the database (all binary data) belongs into a top-level dir named data or, but I still have to look it up.

black-snow commented 1 year ago

We'll try to pull it from GH on install time.

black-snow commented 1 year ago

.onLoad in a R/zzz.R should do the trick

Now I'll have to see if we get the package version, s.t. we can pull the files for that exact version (reproducibility).

black-snow commented 1 year ago

Mmmh, doesn't seem to play nice with how the tests are run (some temp package but doesn't run load?). Need to investigate.

black-snow commented 1 year ago

relates to #14

black-snow commented 1 year ago

Fixed with https://github.com/haganjam/FW_invert_biomass_allometry/commit/6d30b0a5dc33272f7bedd6643d4df912ed95fec7