-
Notifications
You must be signed in to change notification settings - Fork 5
Description
See also r-spatial/sf#1776,
.projNowhere was always a dreadful idea for spatial data in the real world. +proj=utm is invalid, and now fails because PROJ/GDAL enforce a zone number requirement. So the package will not even install with current .projNowhere for PROJ 8.1.1 and GDAL 3.3.2. As a guess, you might kludge this by:
#.projNowhere <- CRS("+proj=utm")
.projNowhere <- {nm <- "CRS"; attr(nm, "package") <- "sp"; new(nm, projargs = "+proj=utm")}
in R/NetLogo-package.R - the package now installs, but fails in sp::over() when testing CRS equality, which you would also need to fix anyway.
00check.log
test-all.Rout.fail.zip
Further note that the development version of sp caches "CRS" objects, so package authors who instantiate the same object repeatedly do not have to go out to PROJ/GDAL each time (and your note in ?.projNowhere is incorrect).
Note that rgdal, rgeos and maptools will not be developed further, and will be withdrawn by 2024-01-01 at the latest. This means that you should transition to sf and either stars or terra (raster uses rgdal and rgeos).