Closed dcooley closed 1 year ago
Because of the vector length limitation, the first one should be h3r::cellToChildren(res0, rep(1L, length(res0)))
I found that when the resolution difference is higher than 10, there will be an error: Error: vector memory exhausted (limit reached?)
.
I now limited the childrensize to make sure it won't exceed the limitation
This one is now finished and I submitted a PR
Might need some error handling around issues where they dont' supply a vector of the required length. In these examples the resolution vector is only 1 element.