learn-r icon indicating copy to clipboard operation
learn-r copied to clipboard

Address retiring packages in SDM lesson 011

Open jcoliver opened this issue 2 years ago • 1 comments

maptools and rgdal are apparently being retired in 2023. Will need to see how to replace them.

jcoliver avatar May 03 '22 22:05 jcoliver

Find some information at https://www.r-bloggers.com/2022/04/r-spatial-evolution-retirement-of-rgdal-rgeos-and-maptools/.

For rgdal, much of this will take place in the background, as the lesson does not make much (any?) use of rgdal functions directly (they are used mostly by raster package functions).

For maptools, the use of the wrld_simpl data will need to be addressed.

This retirement might mean shifting away from using the raster package, which would be a considerably larger shift. See https://www.r-bloggers.com/2021/05/a-comparison-of-terra-and-raster-packages/ for comparison of the two packages.

jcoliver avatar Jun 08 '22 20:06 jcoliver

terra is now mature enough to take on most of the functionality. Hopefully.

jcoliver avatar Mar 06 '23 23:03 jcoliver

maptools and rdgal removed from, geodata added to lesson in 37a1f1d. Still relying on dismo for SDM modeling (using the bioclim algorithm), which is not yet able to take terra-formatted raster data as input, hence continued reliance on the raster package.

jcoliver avatar Mar 27 '23 22:03 jcoliver

Work is being done on a 230725-sdm-to-glm branch.

jcoliver avatar Aug 02 '23 23:08 jcoliver

Completed. Issues with lesson should go in separate, specific issues.

jcoliver avatar Aug 08 '23 23:08 jcoliver