CRAN release version 0.9.1
Several spatial packages previously used by IsoriX are likely to retire sometimes in October 2023. The maintainers of those packages have recommended developers to instead rely on alternative packages which have been recently developed and which supersedes the old packages. As a consequence, we had to recode a lot of IsoriX for it to continue to work. For the most part, these changes are internal and should not impact much users, but it is possible that old workflows used to create plots will have to be adapted for the code to keep working. Moreover, IsoriX is not the only package that had to be overhault, other packages used by IsoriX are also being adapted, which means that the programming landscape is dynamic and bugs caused by incompatibility between packages are likely to surface. We will do our best to react quickly, but please let us know as soon as something goes wrong by dropping issues on the GitHub repository for IsoriX (https://github.com/courtiol/IsoriX/issues). All this change can be perceived as annoying, but it is also for the best: it will allow us to add new features more easily in IsoriX in the future and it also makes it easier for users to convert IsoriX outputs so as to manipulate them using packages such as sf and ggplot2.
Major change
- IsoriX no longer relies on the package raster. It instead now uses terra for handling rasters (#90 #161).
- IsoriX no longer relies on the package sp. Plotting functionalities from sp have now been replaced by direct calls to lattice. For now, we had to implement methods and generics calling lattice in IsoriX, but those should ultimately be handled within rasterVis and lattice. See the file
interim_avoid_sp.Rfor details.
Minor change
getprecip()now normalises the input file and returns the path where the precipitation rasters are stored.prepcipitate()can now handle as input forpath =either the full path to the files returned bygetprecip()-- which contains the folder inputed inpathwhen callinggetprecip()in addition to"/wc2.1_30s_prec"-- or the reduced path which only contains the folder inputed inpathwhen callinggetprecip().getprecip()now changes the timeout R options temporarily so as to avoid the download to fail because the default timeout setting is too short (#148).- the documentation for the datasets
GNIPDataALLaggandGNIPDataEUaggwas incorrect (#158). - one message about possible extrapolation during calibration was erroneous and is now removed (#159).
Geeky change
OceanMaskandCountryBordersare no longer stored as RDA files in/data, but as RDS files in/extatasince objects created with terra cannot be saved as RDA files. These files are automatically loaded when the package is attached.- elevatr moved from Imports to Suggests (#157).