You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
══ Failed tests ═══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════
── Error (test-gis-tools.R:120:3): gh_covering works ───────────────────────────
Error in `sp::`proj4string<-`(`*tmp*`, value = prj4)`: (converted from warning) A new CRS was assigned to an object with an existing CRS:
+proj=longlat +datum=WGS84 +no_defs
without reprojecting.
For reprojection, use function spTransform
Backtrace:
▆
1. └─geohashTools::gh_covering(banjarmasin) at test-gis-tools.R:120:2
2. ├─sp::`proj4string<-`(`*tmp*`, value = prj4)
3. └─sp::`proj4string<-`(`*tmp*`, value = prj4)
── Error (test-gis-tools.R:164:3): gh_covering_sf works ────────────────────────
Error in `sp::`proj4string<-`(`*tmp*`, value = prj4)`: (converted from warning) A new CRS was assigned to an object with an existing CRS:
+proj=longlat +datum=WGS84 +no_defs
without reprojecting.
For reprojection, use function spTransform
Backtrace:
▆
1. └─geohashTools::gh_covering(banjarmasin) at test-gis-tools.R:164:2
2. ├─sp::`proj4string<-`(`*tmp*`, value = prj4)
3. └─sp::`proj4string<-`(`*tmp*`, value = prj4)
#31 would solve this.
Once this is fixed,
options(warn = 2L)
should be set in testthat.RThe text was updated successfully, but these errors were encountered: