corceslab / CHOIR

CHOIR : Clustering Hierarchy Optimization by Iterative Random forests (www.CHOIRclustering.com)
MIT License
21 stars 5 forks source link

Error: 'CDF' is not an exported object from 'namespace:spatstat.explore' #18

Open velten-lab opened 1 week ago

velten-lab commented 1 week ago

When running CHOIR on a Seurat object, the above error appears in recent versions of Seurat / R e.g. R 4.4.1 , spatstat.explore_3.3-3 , Seurat_5.1.0

There is apparently a github repo that describes how to adapt packages to the new versions of spatstat, https://github.com/rubak/spatstat.revdep

Edit: A workaround that currently works is to restart R and, before loading any other package, run

require(groundhog)
groundhog.library("spatstat.explore", "2024-04-28")

Thank you for looking into it!