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 introduction episode along with several files in the code/ folder (which is unused in the lesson) still have library(rgdal), which is now causing the lesson to fail building due to the fact that the {rgdal} package is now retired.
The Committee agreed that the references to rgdal and rgeos be removed or replaced with references to the equivalent sf and terra functions as appropriate. This decision is closely paired with the rationale for choosing terra as the replacement for the raster package and aims to avoid code-breaking deprecations coming some time in 2023.
Transition from raster to terra or stars
The terra package appears to be the most direct replacement for raster as it uses language which is similar to raster and common to other GIS. The Committee recommends that terra be adopted as a replacement to raster. Stars should be presented as an alternative to terra that may be faster in some cases or more appropriate for analyses with longitudinal elements.
What is the problem?
The introduction episode along with several files in the
code/
folder (which is unused in the lesson) still havelibrary(rgdal)
, which is now causing the lesson to fail building due to the fact that the {rgdal} package is now retired.This was opened in the r-raster-vector-geospatial lesson in 2021: datacarpentry/r-raster-vector-geospatial#363 and the @datacarpentry/curriculum-advisors-geospatial had made a recommendation to replace rgdal and rgeos with calls from sf or terra:
Location of problem (optional)
https://github.com/search?q=repo%3Adatacarpentry%2Forganization-geospatial+%28rgdal+OR+rgeos%29&type=code
The text was updated successfully, but these errors were encountered: