'Internal error: X pixel values were NA, even after projection

I am using a library (sparr), which relies on spatstat. After executing a function from sparr, namely LSCV.risk() I am getting the following error:

Internal error: 1498 pixel values were NA, even after projection

I was able to track it down to here https://rdrr.io/github/spatstat/spatstat.geom/src/R/images.R But I have not idea what this error is trying to tell me. Is someone able to "translate" this for me or can guess, whats going on/which function is failing? For what it's worth, the data I am working with is projected in UTM.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source