The raster package defines classes and methods for spatial raster data access and manipulation. The rasterVis package complements raster providing a set of methods for enhanced visualization and interaction.
I am switching the dependency between terra and raster. That is, I am making raster dependent on terra. The reason for the dependency is to avoid name clashes. This is a tricky operation as packages cannot be dependent on each other. So there will be a messy (but hopefully very short) transition period where terra is no longer dependent on raster, and raster not dependent on terra -- leading to name clashes. The proposed changes add "raster::" to some methods such that at least all the examples (R CMD check) still work.
The reason for the switch is that be able methods from rgeos and rgdal that will be retired in the not so far future. Although I had this in mind irrespective of that. In my view, terra is the future and it should not depend on an old package.
I am switching the dependency between terra and raster. That is, I am making raster dependent on terra. The reason for the dependency is to avoid name clashes. This is a tricky operation as packages cannot be dependent on each other. So there will be a messy (but hopefully very short) transition period where terra is no longer dependent on raster, and raster not dependent on terra -- leading to name clashes. The proposed changes add "raster::" to some methods such that at least all the examples (R CMD check) still work.
The reason for the switch is that be able methods from rgeos and rgdal that will be retired in the not so far future. Although I had this in mind irrespective of that. In my view, terra is the future and it should not depend on an old package.