Running ‘doRUnit.R’ [1s/1s]
  Running ‘dstab-ex.R’ [0s/0s]
  Running ‘pstab-ex.R’ [0s/0s]
  Running ‘tails.R’ [0s/0s]
Running the tests in ‘tests/doRUnit.R’ failed.
Complete output:
  > #### doRUnit.R --- Run RUnit tests
  > ####------------------------------------------------------------------------
  > 
  > ### Origianlly follows Gregor Gojanc's example in CRAN package  'gdata'
  > ### and the corresponding section in the R Wiki:
  > ###  http://wiki.r-project.org/rwiki/doku.php?id=developers:runit
  > 
  > ### MM: Vastly changed:  This should also be "runnable" for *installed*
  > ##              package which has no ./tests/
  > ## ----> put the bulk of the code e.g. in  ../inst/unitTests/runTests.R :
  > 
  > if(require("RUnit", quietly=TRUE)) {
  + 
  +   ## --- Setup ---
  + 
  +   wd <- getwd()
  +   pkg <- sub("\\.Rcheck$", '', basename(dirname(wd)))
  + 
  +   library(package=pkg, character.only=TRUE)
  + 
  +   path <- system.file("unitTests", package = pkg)
  + 
  +   stopifnot(file.exists(path), file.info(path.expand(path))$isdir)
  + 
  +   ## MM: Setting RNG states  *outside* testing functions,
  +   ##     so we can run them, testing new situations each time
  +   oRK <- RNGkind(kind = "Marsaglia-Multicarry", normal.kind = "Inversion")
  +   set.seed(4711)
  + 
  +   source(file.path(path, "runTests.R"), echo = TRUE)
  + 
  +   ## reset RNG:
  +   RNGkind(oRK[1])
  + }
  
  > pkg <- "stabledist"
  
  > if (require("RUnit", quietly = TRUE)) {
  +     library(package = pkg, character.only = TRUE)
  +     if (!(exists("path") && file.exists(path))) 
  +     .... [TRUNCATED] 
  Loading required package: fBasics
  Loading required package: timeDate
  Loading required package: timeSeries
  Error: package or namespace load failed for 'fBasics' in dyn.load(file, DLLpath = DLLpath, ...):
   unable to load shared object '/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/spatial/libs/spatial.so':
    /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/spatial/libs/spatial.so: failed to map segment from shared object
  Loading required package: tools
  Error in dyn.load(file, DLLpath = DLLpath, ...) : 
    unable to load shared object '/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/lattice/libs/lattice.so':
    /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/lattice/libs/lattice.so: failed to map segment from shared object
  RUnit reports are written into /tmp/RtmpItI91d/stabledist_unitTests5b1863e03cb6/report.(txt|html)RUNIT TEST PROTOCOL -- Mon Dec 17 06:47:05 2018 
  *********************************************** 
  Number of test functions: 1 
  Number of errors: 1 
  Number of failures: 0 
  
   
  1 Test Suite : 
  stabledist unit testing - 1 test function, 1 error, 0 failures
  ERROR in /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/stabledist/unitTests/runit.StableDistribution.R: Error while sourcing  /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/stabledist/unitTests/runit.StableDistribution.R : Error in dyn.load(file, DLLpath = DLLpath, ...) : 
    unable to load shared object '/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/lattice/libs/lattice.so':
    /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/lattice/libs/lattice.so: failed to map segment from shared object
  Error in eval(ei, envir) : 
  
  unit testing failed (#test failures: 0, R errors: 1)
  
  Calls: source -> withVisible -> eval -> eval
  Execution halted
Running the tests in ‘tests/dstab-ex.R’ failed.
Complete output:
  > require("stabledist")
  Loading required package: stabledist
  > dPareto <- stabledist:::dPareto
  > 
  > source(system.file("test-tools-1.R", package = "Matrix"), keep.source=interactive())
  Loading required package: tools
  Error in dyn.load(file, DLLpath = DLLpath, ...) : 
    unable to load shared object '/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/lattice/libs/lattice.so':
    /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/lattice/libs/lattice.so: failed to map segment from shared object
  Calls: source ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
  Execution halted
Running the tests in ‘tests/pstab-ex.R’ failed.
Complete output:
  > require("stabledist")
  Loading required package: stabledist
  > pPareto <- stabledist:::pPareto
  > 
  > source(system.file("test-tools-1.R", package = "Matrix"), keep.source=interactive())
  Loading required package: tools
  Error in dyn.load(file, DLLpath = DLLpath, ...) : 
    unable to load shared object '/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/lattice/libs/lattice.so':
    /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/lattice/libs/lattice.so: failed to map segment from shared object
  Calls: source ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
  Execution halted
Running the tests in ‘tests/tails.R’ failed.
Complete output:
  > require("stabledist")
  Loading required package: stabledist
  > 
  > ###--- Tail approximations etc  -- both for pstable() and dstable()
  > dPareto <- stabledist:::dPareto
  > 
  > source(system.file("test-tools-1.R", package = "Matrix"), keep.source=interactive())
  Loading required package: tools
  Error in dyn.load(file, DLLpath = DLLpath, ...) : 
    unable to load shared object '/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/lattice/libs/lattice.so':
    /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/lattice/libs/lattice.so: failed to map segment from shared object
  Calls: source ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
  Execution halted