This just came up in my tree sequence spatial inference project. For some reason, creating a population whose range completely overlaps the world boundary leads to error. I don't think I have ever tested an edge (but a very reasonable edge case!) like this, so I bet I messed up some internal sanity check.
Error: No area left for pop after intersection with landscape at time 1
Traceback:
1. plot(pop)
2. plot.slendr(pop)
3. lapply(pop_maps, intersect_features)
4. FUN(X[[i]], ...)
5. stop(sprintf("No area left for %s after intersection with landscape at time %s",
. pop$pop, pop$tmap), call. = FALSE)
This just came up in my tree sequence spatial inference project. For some reason, creating a population whose range completely overlaps the world boundary leads to error. I don't think I have ever tested an edge (but a very reasonable edge case!) like this, so I bet I messed up some internal sanity check.
The error is: