Closed rsbivand closed 1 year ago
Hi @rsbivand , thank you for bringing these upcoming changes to sp
to our attention. I'm pleased that we have already implemented a new faster function based on terra
, and the sp
dependency belongs to the function that has already been superceded - we had kept this for internal development and checking. Therefore, we have been able to straightforwardly remove the dependency on sp
by just removing the function in question completely, and just use terra
. Thank you!
Please read all of https://r-spatial.org/r/2023/05/15/evolution4.html and the previous reports. The
sp
package is really for geographical data, and has largely been superceded bysf
(S3) andterra
(S4 but only pointers to objects in memory). My guess is that if "spatial" cluster packages in BioConductor need classes, you'd need either to borrow from what geo-spatial CRAN packages are doing, or look to start an R7 process to succeedsp
. https://github.com/SydneyBioX/MoleculeExperiment/blob/8af3918aaa8b5031ab94a14f33e0799aabc72bb7/R/countMolecules.R#L243 looks very vulnerable, assp
has usedrgeos
(to be archived in October 2023) for someover
methods. YourNAMESPACE
file does not import anything fromsp
.