I have multiple .R pipelines from 2018 and 2019 that relied on oneClass and are currently not working at the evaluateOcc() step.
In fact, I just tried to run the notebook example from the package in a fresh installation of R and got the same error.
Error in if ((class(newdata) == "rasterTiled" | .is.raster(newdata)) & :
the condition has length > 1
I have been trying to debug for a few days without success. Considering that the issue is not only affecting my datasets but also the examples provided by the package I wonder if this can be a new incompatibility between evaluateOcc function and the packages it relies on?
I have multiple .R pipelines from 2018 and 2019 that relied on oneClass and are currently not working at the evaluateOcc() step. In fact, I just tried to run the notebook example from the package in a fresh installation of R and got the same error.
Error in if ((class(newdata) == "rasterTiled" | .is.raster(newdata)) & : the condition has length > 1
I have been trying to debug for a few days without success. Considering that the issue is not only affecting my datasets but also the examples provided by the package I wonder if this can be a new incompatibility between evaluateOcc function and the packages it relies on?
Best, J