Open tylerdrudolph opened 2 years ago
Can you also share the output of traceback()
after the error occurs? It might help pinpoint which function call is failing underneath the hood.
By all means @kevinushey.
> traceback()
2: stop(res[[2]])
1: sp::CRS("EPSG:3005")
Any luck figuring this out @tylerdrudolph? Having the same problem
@KarHarker As of today, all my packages are up-to-date, yet the issue persists. My solution is to progressively rework all active code such that it no longer references CRS(), instead using sf::st_crs(), and the terra package in lieu of raster.
Invoking certain legitimate EPSG codes draws errors on my machine, seemingly only in RStudio but occasionally in Rterm as well:
R and packages are up-to-date and I am testing in a clean environment:
See https://github.com/rspatial/raster/issues/232 and https://github.com/rstudio/rstudio/issues/10052 for background. Is this an sp or an RStudio problem?