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
The packages rgdal, rgeos, and maptools are being removed from CRAN October 2023.
FIELDimageR does not use these directly (except for maptools, which can be removed after merging #43), but it uses sp, which has all of these as dependencies.
The article discusses the need to shift from sp to modern alternatives sf or terra.
Article: https://geocompx.org/post/2023/rgdal-retirement/
The packages
rgdal
,rgeos
, andmaptools
are being removed from CRAN October 2023.FIELDimageR does not use these directly (except for
maptools
, which can be removed after merging #43), but it usessp
, which has all of these as dependencies.The article discusses the need to shift from
sp
to modern alternativessf
orterra
.FIELDimageR
imports the following fromsp
:sp::Polygon
-->sf::st_polygon
sp::Polygons
-->sf:: st_multipolygon
sp::SpatialPointsDataFrame
-->sf:: st_sf
sp::SpatialPolygons
-->sf:: st_sfc
sp::SpatialPolygonsDataFrame
-->sf:: st_sf
sp::bbox
-->sf:: st_bbox
sp::over
-->sapply(sf::st_intersects(x, y), function(z) if (length(z) == 0) NA_integer_ else z[1])
sp::proj4string
-->sf::st_crs
sp::spsample
-->sf:: st_sample
sp::elide
--> ?Resources:
sf
docs: https://r-spatial.github.io/sf/reference/index.htmlterra
docs: https://rspatial.github.io/terra/index.htmlsp
tosf
table: https://github.com/r-spatial/sf/wiki/MigratingThe text was updated successfully, but these errors were encountered: