I'm trying to simplify my R spatial code to use only terra functions, and I'm almost there. The one function I'm missing is a replacement for rgeos::gDistance for point-polygon distances. I'd be grateful for any ideas. Murray