Running examples in ‘colordistance-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: extractClusters
> ### Title: Extract cluster values and sizes from kmeans fit objects
> ### Aliases: extractClusters
> 
> ### ** Examples
> 
> clusterList <- colordistance::getKMeansList(system.file("extdata",
+ "Heliconius/Heliconius_A", package="colordistance"), bins=3)

  |                                                                            
  |                                                                      |   0%
  |                                                                            
  |==================                                                    |  25%
  |                                                                            
  |===================================                                   |  50%
  |                                                                            
  |====================================================                  |  75%
  |                                                                            
  |======================================================================| 100%> 
> colordistance::extractClusters(clusterList)
Warning: replacing previous import ‘spatstat.utils::RelevantNA’ by ‘spatstat.sparse::RelevantNA’ when loading ‘spatstat.geom’
Warning: replacing previous import ‘spatstat.utils::grokIndexVector’ by ‘spatstat.sparse::grokIndexVector’ when loading ‘spatstat.geom’
Warning: replacing previous import ‘spatstat.utils::fullIndexSequence’ by ‘spatstat.sparse::fullIndexSequence’ when loading ‘spatstat.geom’
Warning: replacing previous import ‘spatstat.utils::positiveIndex’ by ‘spatstat.sparse::positiveIndex’ when loading ‘spatstat.geom’
Warning: replacing previous import ‘spatstat.utils::replacementIndex’ by ‘spatstat.sparse::replacementIndex’ when loading ‘spatstat.geom’
Warning: replacing previous import ‘spatstat.utils::RelevantEmpty’ by ‘spatstat.sparse::RelevantEmpty’ when loading ‘spatstat.geom’
Warning: replacing previous import ‘spatstat.utils::isRelevantZero’ by ‘spatstat.sparse::isRelevantZero’ when loading ‘spatstat.geom’
Warning: replacing previous import ‘spatstat.utils::logicalIndex’ by ‘spatstat.sparse::logicalIndex’ when loading ‘spatstat.geom’
Warning: replacing previous import ‘spatstat.utils::RelevantZero’ by ‘spatstat.sparse::RelevantZero’ when loading ‘spatstat.geom’
Warning: replacing previous import ‘spatstat.utils::strictIndexSequence’ by ‘spatstat.sparse::strictIndexSequence’ when loading ‘spatstat.geom’
Warning: replacing previous import ‘spatstat.utils::RelevantNA’ by ‘spatstat.sparse::RelevantNA’ when loading ‘spatstat.core’
Warning: replacing previous import ‘spatstat.utils::grokIndexVector’ by ‘spatstat.sparse::grokIndexVector’ when loading ‘spatstat.core’
Warning: replacing previous import ‘spatstat.utils::fullIndexSequence’ by ‘spatstat.sparse::fullIndexSequence’ when loading ‘spatstat.core’
Warning: replacing previous import ‘spatstat.utils::positiveIndex’ by ‘spatstat.sparse::positiveIndex’ when loading ‘spatstat.core’
Warning: replacing previous import ‘spatstat.utils::replacementIndex’ by ‘spatstat.sparse::replacementIndex’ when loading ‘spatstat.core’
Warning: replacing previous import ‘spatstat.utils::RelevantEmpty’ by ‘spatstat.sparse::RelevantEmpty’ when loading ‘spatstat.core’
Warning: replacing previous import ‘spatstat.utils::isRelevantZero’ by ‘spatstat.sparse::isRelevantZero’ when loading ‘spatstat.core’
Warning: replacing previous import ‘spatstat.utils::logicalIndex’ by ‘spatstat.sparse::logicalIndex’ when loading ‘spatstat.core’
Warning: replacing previous import ‘spatstat.utils::RelevantZero’ by ‘spatstat.sparse::RelevantZero’ when loading ‘spatstat.core’
Warning: replacing previous import ‘spatstat.utils::strictIndexSequence’ by ‘spatstat.sparse::strictIndexSequence’ when loading ‘spatstat.core’
Error: 'pp3' is not an exported object from 'namespace:spatstat'
Execution halted