- 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 👇
- If people wonder why {terra} and not {stars}. My main answer would be that all plotting functionalities of the #rstats 📦 IsoriX are based on {lattice} via {rasterVis}. The latter 📦 now handles {terra} objects very well. Had I switched to {stars}, all plotting functions would have had to be recoded.Nov 19, 2023 09:16