Running examples in 'mobsim-Ex.R' failed
The error most likely occurred in:

> ### Name: dist_decay
> ### Title: Distance decay of similarity
> ### Aliases: dist_decay
> 
> ### ** Examples
> 
> sim_com1 <- sim_thomas_community(100, 10000, sigma = 0.1, mother_points = 2)
> dd1 <- dist_decay(sim_com1, prop_area = 0.005, n_samples = 20)
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: 'owin' is not an exported object from 'namespace:spatstat'
Execution halted