How do I solve this error in evaluating the argument 'CRSobj'?

771 Views Asked by At

Am trying to get elevation raster using elevatr package but I keep getting this "error in evaluating the argument 'CRSobj' in selecting a method for function 'spTransform': NA"

It was originally working in my laptop with the same data but now in my desktop, I keep getting this error. What might have gone wrong?

1

There are 1 best solutions below

0
On

This is likely an issue with package versions. Make sure elevatr, raster, rgdal, and sp are up-to-date. Lot of changes have happened in the last year or so around PROJ and this has cascaded through all of the spatial packages.