Running ‘test_bccaq.R’
  Running ‘test_bisect.R’
  Running ‘test_ca.R’
  Running ‘test_ci.R’
  Running ‘test_qdm.R’
  Running ‘test_rerank.R’
  Running ‘testsuite.R’
Running the tests in ‘tests/testsuite.R’ failed.
Complete output:
  > library(RUnit)
  > library(ncdf4)
  > 
  > if (require("RUnit", quietly=TRUE)) {
  +     wd <- getwd()
  +     loadNamespace("ClimDown") ## Ensure default options are set
  +     testsuite <- defineTestSuite("ClimDown", dirs=wd, testFileRegexp = "^test_.+.R$", testFuncRegexp = "^test.+")
  +     test.result <- runTestSuite(testsuite, useOwnErrorHandler=F)
  +     printTextProtocol(test.result)
  +     stopifnot(test.result$ClimDown$nFail == 0 && test.result$ClimDown$nErr == 0)
  + }
  
  
  Executing test function test.bccaq  ... [1] "Calculating daily anomalies on the GCM"
  Error in R_nc4_open: NetCDF: HDF error
  Timing stopped at: 1.595 0.075 1.817
  Error in nc_open(obs.file) : 
    Error in nc_open trying to open file ./tiny_obs.nc
   done successfully.
  
  
  
  Executing test function test.regrid.one.dim.both.decreasing  ...  done successfully.
  
  
  
  Executing test function test.regrid.one.dim.decreasing.coarse  ...  done successfully.
  
  
  
  Executing test function test.regrid.one.dim.decreasing.fine  ...  done successfully.
  
  
  
  Executing test function test.regrid.one.dim.monotonic  ...  done successfully.
  
  
  
  Executing test function test.ca.netcdf.wrapper  ... [1] "Aggregating observations to GCM scale"
  Error in R_nc4_open: NetCDF: HDF error
  Timing stopped at: 0.143 0.005 0.154
  Error in nc_open(obs.file) : 
    Error in nc_open trying to open file ./tiny_obs.nc
   done successfully.
  
  
  
  Executing test function test.ca.netcdf.wrapper.bad.times  ... [1] "Aggregating observations to GCM scale"
  Error in R_nc4_open: NetCDF: HDF error
  Error in nc_open(obs.file) : 
    Error in nc_open trying to open file ./tiny_obs.nc
   done successfully.
  
  
  
  Executing test function test.chunked.factored.running.mean.aligned  ... [1] "Reading timesteps 1 : 2 / 8 from file: /tmp/Rtmp5EaWuM/file4ca62dbcffd.nc"
  [1] "Computing the temporal mean"
  [1] "Reading timesteps 3 : 4 / 8 from file: /tmp/Rtmp5EaWuM/file4ca62dbcffd.nc"
  [1] "Computing the temporal mean"
  [1] "Reading timesteps 5 : 6 / 8 from file: /tmp/Rtmp5EaWuM/file4ca62dbcffd.nc"
  [1] "Computing the temporal mean"
  [1] "Reading timesteps 7 : 8 / 8 from file: /tmp/Rtmp5EaWuM/file4ca62dbcffd.nc"
  [1] "Computing the temporal mean"
   done successfully.
  
  
  
  Executing test function test.chunked.factored.running.mean.dim.not.aligned  ... [1] "Reading timesteps 1 : 7 / 8 from file: /tmp/Rtmp5EaWuM/file4ca6612cd0a.nc"
  [1] "Computing the temporal mean"
  [1] "Reading timesteps 8 : 8 / 8 from file: /tmp/Rtmp5EaWuM/file4ca6612cd0a.nc"
  [1] "Computing the temporal mean"
   done successfully.
  
  
  
  Executing test function test.chunked.factored.running.mean.unaligned  ... [1] "Reading timesteps 1 : 4 / 8 from file: /tmp/Rtmp5EaWuM/file4ca67c832916.nc"
  [1] "Computing the temporal mean"
  [1] "Reading timesteps 5 : 8 / 8 from file: /tmp/Rtmp5EaWuM/file4ca67c832916.nc"
  [1] "Computing the temporal mean"
   done successfully.
  
  
  
  Executing test function test.ci.netcdf.wrapper  ... [1] "Calculating daily anomalies on the GCM"
  Error in R_nc4_open: NetCDF: HDF error
  Timing stopped at: 0.145 0.004 0.161
  Error in nc_open(obs.file) : 
    Error in nc_open trying to open file ./tiny_obs.nc
   done successfully.
  
  
  
  Executing test function test.is.range.subset  ...  done successfully.
  
  
  
  Executing test function test.qdm  ... [1] "Calculating daily anomalies on the GCM"
  Error in R_nc4_open: NetCDF: HDF error
  Error in nc_open(obs.file) : 
    Error in nc_open trying to open file ./tiny_obs.nc
  
  
  Executing test function test.rerank  ... [1] "Calculating daily anomalies on the GCM"
  Error in R_nc4_open: NetCDF: HDF error
  Error in nc_open(obs.file) : 
    Error in nc_open trying to open file ./tiny_obs.nc
  RUNIT TEST PROTOCOL -- Fri Mar 16 21:55:33 2018 
  *********************************************** 
  Number of test functions: 14 
  Number of errors: 5 
  Number of failures: 0 
  
   
  1 Test Suite : 
  ClimDown - 14 test functions, 5 errors, 0 failures
  ERROR in test.bccaq: Error in nc_open(obs.file) : 
    Error in nc_open trying to open file ./tiny_obs.nc
  ERROR in test.ca.netcdf.wrapper: Error in nc_open(obs.file) : 
    Error in nc_open trying to open file ./tiny_obs.nc
  ERROR in test.ci.netcdf.wrapper: Error in nc_open(obs.file) : 
    Error in nc_open trying to open file ./tiny_obs.nc
  ERROR in .setUp (before test.qdm): Error executing .setUp before test.qdm : Error in nc_open(obs.file) : 
    Error in nc_open trying to open file ./tiny_obs.nc
  ERROR in .setUp (before test.rerank): Error executing .setUp before test.rerank : Error in nc_open(obs.file) : 
    Error in nc_open trying to open file ./tiny_obs.nc
  
  
  
  Details 
  *************************** 
  Test Suite: ClimDown 
  Test function regexp: ^test.+ 
  Test file regexp: ^test_.+.R$ 
  Involved directory: 
  /home/ripley/R/packages/tests32/ClimDown.Rcheck/tests 
  --------------------------- 
  Test file: /home/ripley/R/packages/tests32/ClimDown.Rcheck/tests/test_bccaq.R 
  test.bccaq: ERROR !! 
  Error in nc_open(obs.file) : 
    Error in nc_open trying to open file ./tiny_obs.nc
  --------------------------- 
  Test file: /home/ripley/R/packages/tests32/ClimDown.Rcheck/tests/test_bisect.R 
  test.regrid.one.dim.both.decreasing: (1 checks) ... OK (0 seconds)
  test.regrid.one.dim.decreasing.coarse: (1 checks) ... OK (0 seconds)
  test.regrid.one.dim.decreasing.fine: (1 checks) ... OK (0 seconds)
  test.regrid.one.dim.monotonic: (1 checks) ... OK (0 seconds)
  --------------------------- 
  Test file: /home/ripley/R/packages/tests32/ClimDown.Rcheck/tests/test_ca.R 
  test.ca.netcdf.wrapper: ERROR !! 
  Error in nc_open(obs.file) : 
    Error in nc_open trying to open file ./tiny_obs.nc
  test.ca.netcdf.wrapper.bad.times: (1 checks) ... OK (0.09 seconds)
  --------------------------- 
  Test file: /home/ripley/R/packages/tests32/ClimDown.Rcheck/tests/test_ci.R 
  test.chunked.factored.running.mean.aligned: (1 checks) ... OK (0.37 seconds)
  test.chunked.factored.running.mean.dim.not.aligned: (1 checks) ... OK (1.27 seconds)
  test.chunked.factored.running.mean.unaligned: (1 checks) ... OK (0.01 seconds)
  test.ci.netcdf.wrapper: ERROR !! 
  Error in nc_open(obs.file) : 
    Error in nc_open trying to open file ./tiny_obs.nc
  test.is.range.subset: (7 checks) ... OK (0 seconds)
  --------------------------- 
  Test file: /home/ripley/R/packages/tests32/ClimDown.Rcheck/tests/test_qdm.R 
  .setUp (before test.qdm): ERROR !! 
  Error executing .setUp before test.qdm : Error in nc_open(obs.file) : 
    Error in nc_open trying to open file ./tiny_obs.nc
  --------------------------- 
  Test file: /home/ripley/R/packages/tests32/ClimDown.Rcheck/tests/test_rerank.R 
  .setUp (before test.rerank): ERROR !! 
  Error executing .setUp before test.rerank : Error in nc_open(obs.file) : 
    Error in nc_open trying to open file ./tiny_obs.nc
  Error: test.result$ClimDown$nFail == 0 && test.result$ClimDown$nErr ==  .... is not TRUE
  Execution halted