Running ‘doRUnit.R’
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)
  + 
  +   source(file.path(path, "runTests.R"), echo = TRUE)
  + }
  Loading required package: timeDate
  Loading required package: timeSeries
  Loading required package: fBasics
  
  
  Rmetrics Package fBasics
  Analysing Markets and calculating Basic Statistics
  Copyright (C) 2005-2014 Rmetrics Association Zurich
  Educational Software for Financial Engineering and Computational Science
  Rmetrics is free software and comes with ABSOLUTELY NO WARRANTY.
  https://www.rmetrics.org --- Mail to: info@rmetrics.org
  
  
  Rmetrics Package fMultivar
  Analysing and Modeling Multivariate Financial Return Distributions
  Copyright (C) 2005-2014 Rmetrics Association Zurich
  Educational Software for Financial Engineering and Computational Science
  Rmetrics is free software and comes with ABSOLUTELY NO WARRANTY.
  https://www.rmetrics.org --- Mail to: info@rmetrics.org
  
  > pkg <- "fMultivar"
  
  > if (require("RUnit", quietly = TRUE)) {
  +     library(package = pkg, character.only = TRUE)
  +     if (!(exists("path") && file.exists(path))) 
  +     .... [TRUNCATED] 
  
  
  Executing test function test.hexBinning  ...  done successfully.
  
  
  
  Executing test function test.squareBinning  ...  done successfully.
  
  
  
  Executing test function test.cauchy2d  ...  done successfully.
  
  
  
  Executing test function test.delliptical2d  ...  done successfully.
  
  
  
  Executing test function test.density2d  ...  done successfully.
  
  
  
  Executing test function test.grid2d  ...  done successfully.
  
  
  
  Executing test function test.hist2d  ...  done successfully.
  
  
  
  Executing test function test.norm2d  ...  done successfully.
  
  
  
  Executing test function test.t2d  ...  done successfully.
  
  
  
  Executing test function test.gridData  ...  done successfully.
  
  
  
  Executing test function test.gridDataPlot  ... Loading required package: akima
  Timing stopped at: 0.47 0.018 0.734 
  Error in persp.default(x, theta = theta, phi = phi, col = col, ticktype = ticktype,  : 
    invalid 'z' limits
  In addition: Warning messages:
  1: In rug(x$data[, 1], ticksize = 0.01, side = 3) :
    some values will be clipped
  2: In akima::interp.new(x, y, z, xo, yo, linear = FALSE, ncp = NULL,  :
    interp.new() is deprecated, use interp()
  3: In min(x) : no non-missing arguments to min; returning Inf
  4: In max(x) : no non-missing arguments to max; returning -Inf
   done successfully.
  
  RUNIT TEST PROTOCOL -- Wed Mar  8 01:38:24 2017 
  *********************************************** 
  Number of test functions: 11 
  Number of errors: 1 
  Number of failures: 0 
  
   
  1 Test Suite : 
  fMultivar unit testing - 11 test functions, 1 error, 0 failures
  ERROR in test.gridDataPlot: Error in persp.default(x, theta = theta, phi = phi, col = col, ticktype = ticktype,  : 
    invalid 'z' limits
  Error in eval(expr, envir, enclos) : 
  
  unit testing failed (#test failures: 0, R errors: 1)
  
  Calls: source -> withVisible -> eval -> eval
  Execution halted