Update EC_SDM_geoconstrained.R reverted
Reversion to original. Alternative approach using terra is probably safer in retrospect. sf::sf_use_s2 could be problematic, given that the line of code that causes the constraint error is merely filtering the occurrence points to those within the constraint area.