Hi, I am trying to run the predict function following the same steps as in the exercise but I get the following error:
predicted <- predict(sdm.model,
envs.tars %>% sf::st_crop(bb),
clamp = clamp, type = type)
Error in [.stars(newdata, , v) :
selecting using invalid value label(s)?
Everything else I managed to replicate without problem. But I have not been able to solve this error.
Hi, I am trying to run the predict function following the same steps as in the exercise but I get the following error:
predicted <- predict(sdm.model,
envs.tars %>% sf::st_crop(bb),
clamp = clamp, type = type)
Error in
[.stars(newdata, , v) :selecting using invalid value label(s)?
Everything else I managed to replicate without problem. But I have not been able to solve this error.