- IsoriX v0.9.2 -- an #rstats 📦 for building isoscapes using mixed models and inferring the geographic origin of samples based on their isotopic ratios -- is now on CRAN. The main change between v0.9.1/v0.9.2 and earlier versions is that it no longer imports {raster} & {sp}, but {terra}. More 👇
- I thought that the transition would be trivial, but it turned out not to be. Without {sp}, IsoriX initially lost the ability to plot oceans, which are polygons with holes (i.e. polypaths). So we had to add this feature in #rstats 📦 {lattice} and {rasterVis}, which IsoriX uses. More 👇
- Without {raster}, the #rstats 📦 IsoriX lost the ability to store objects it creates as binaries. So I had to implement S3 & S4 methods for that, building on {terra}'s wrapping functionalities. I also discovered that `raster::aggregate` and `terra::aggregate` have different default `na.rm` behaviour.Nov 19, 2023 09:09