sborstein / dietr

Diet Estimated Trophic Levels in R: Estimates fractional trophic level from diet and food item data records in R.
5 stars 1 forks source link

Memory Allocation Issue with ConvertFishbaseDiet #17

Closed sborstein closed 2 years ago

sborstein commented 2 years ago

This appears to be due to a new FishBase update, but it is giving a memory allocation issue as it reads in the data. This may be due to how FishBase handles the diet data. I will be looking at alternative ways to read in the data, but also may contact the FishBase team for help. Note, this appears to be the only function effected at this time and is causing build fails.

sborstein commented 2 years ago

This has been fixed and was caused by diet records without ids causing issues and preventing merging by using lots of memory. I have added code that filters out empty records to prevent this.