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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: adjustment
> ### Title: Adjustment of interpolated species richness
> ### Aliases: adjustment
> 
> ### ** Examples
> 
> ##load data
> data(dataset.all.species)
> data(dataset.landwater)
> 
> ##create grid parameters
> dimension <- getDimension(dataset.all.species, resolution=1)
> shift <- getShift(dataset.all.species)
> 
> ##create landwatermask
> landwatermask.nocoast <- createLandwatermask(dataset.landwater, 
+ 					dimension, shift, resolution=1)
> 
> ##estimate species richness
> species.richness.weighted <- species.richness(dataset.all.species, 
+ 		landwatermask.nocoast, distances=1:5, weight=0.5, dimension, shift, resolution=1,
+ 		upperbound=5, all.species=1:2)
> 
> ##prepare adjustment
> noninterpolatedgrid <- createNonInterpolatedGrid(dataset.all.species, 
+ 				dimension, shift, resolution=1, all.species=-1)
> clusterlimit <- 100
> 
> clusterlist <- searchClusters(species.richness.weighted, 
+ 		dimension, shift, resolution=1, clusterlimit)
Loading required namespace: SDMTools
Failed with error:  ‘unable to load shared object '/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/SDMTools/libs/SDMTools.so':
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/SDMTools/libs/SDMTools.so: failed to map segment from shared object’
Loading required namespace: sp
Failed with error:  ‘unable to load shared object '/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/lattice/libs/lattice.so':
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/lattice/libs/lattice.so: failed to map segment from shared object’
Error in dyn.load(file, DLLpath = DLLpath, ...) : 
  unable to load shared object '/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/lattice/libs/lattice.so':
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/lattice/libs/lattice.so: failed to map segment from shared object
Calls: searchClusters ... namespaceImport -> loadNamespace -> library.dynam -> dyn.load
Execution halted