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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: Kinhom.Track
> ### Title: Inhomogeneous K-function for trajectory pattern
> ### Aliases: Kinhom.Track
> 
> ### ** Examples
> 
> library(spatstat)
Loading required package: spatstat.data
Loading required package: spatstat.geom
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’
spatstat.geom 1.65-5
Loading required package: spatstat.core
Loading required package: nlme
Loading required package: rpart
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’
spatstat.core 1.65-5
Loading required package: spatstat.linnet

spatstat 2.0-1       (nickname: ‘Caution: contains small parts’) 
For an introduction to spatstat, type ‘beginner’ 

> X <- list()
> for(i in 1:100){
+   m <- matrix(c(0,10,0,10),nrow=2,byrow = TRUE)
+   X[[i]] <- rTrack(bbox = m,transform = TRUE)
+ }
> Kinhom.Track(X,timestamp = "180 secs")
Error: 'owin' is not an exported object from 'namespace:spatstat'
Execution halted