HighlanderLab / SIMplyBee

SIMplyBee R package extends AlphaSimR for simulating honeybee populations and breeding programmes
http://www.simplybee.info/
Other
0 stars 5 forks source link

Use newEmptyPop() instead of NULL #580

Closed gregorgorjanc closed 1 month ago

gregorgorjanc commented 1 month ago

When we started developing SIMplyBee we had to work with empty/NULL populations. This lead to some ugly code with lots of edge cases, but eventually we made it work. A while ago AlphaSimR gained newEmptyPop(), which means we could simplify our code and reliance on the NULL.

Here is an issue chat from AlphaSimR about this issue too: https://github.com/gaynorr/AlphaSimR/issues/190

gregorgorjanc commented 1 month ago

Ah, this id duplicate of https://github.com/HighlanderLab/SIMplyBee/issues/574