Running ‘bootstrap.R’ [49s/56s]
  Running ‘test_helper_functions.R’
  Running ‘test_indices.R’
  Running ‘test_issue_7.R’
  Running ‘test_primitives.R’
Running the tests in ‘tests/bootstrap.R’ failed.
Complete output:
  > load("exemplar_data.rda")
  > library(PCICt)
  > 
  > if(require("RUnit", quietly=TRUE)) {
  +   ## Run all the tests
  +   testsuite <- defineTestSuite("climdex.pcic", dirs=".", testFileRegexp = "^test_.+.R$", testFuncRegexp = "^climdex.pcic.test.+")
  +   climdex.pcic.test.result <- runTestSuite(testsuite, useOwnErrorHandler=F)
  +   printTextProtocol(climdex.pcic.test.result)
  +   stopifnot(climdex.pcic.test.result$climdex.pcic$nFail == 0 && climdex.pcic.test.result$climdex.pcic$nErr == 0)    
  + }
  
  
  Executing test function climdex.pcic.test.running.mean  ...  done successfully.
  
  
  
  Executing test function climdex.pcic.test.climdex.gsl  ...  done successfully.
  
  
  
  Executing test function climdex.pcic.test.intake.routines  ... [1] "Checking success..."
  [1] "su"
  [1] "id"
  [1] "txx"
  [1] "txn"
  [1] "tx10p"
  [1] "tx90p"
  [1] "wsdi"
  [1] "Checking error..."
  [1] "fd"
  Error in fun(ci) : !is.null(ci@data$tmin) is not TRUE
  Error in fun(ci.csv) : !is.null(ci@data$tmin) is not TRUE
  [1] "tr"
  Error in fun(ci) : !is.null(ci@data$tmin) is not TRUE
  Error in fun(ci.csv) : !is.null(ci@data$tmin) is not TRUE
  [1] "gsl"
  Error in fun(ci) : !is.null(ci@data$tavg) is not TRUE
  Error in fun(ci.csv) : !is.null(ci@data$tavg) is not TRUE
  [1] "tnx"
  Error in fun(ci) : !is.null(ci@data$tmin) is not TRUE
  Error in fun(ci.csv) : !is.null(ci@data$tmin) is not TRUE
  [1] "tnn"
  Error in fun(ci) : !is.null(ci@data$tmin) is not TRUE
  Error in fun(ci.csv) : !is.null(ci@data$tmin) is not TRUE
  [1] "tn10p"
  Error in fun(ci) : 
    !is.null(ci@data$tmin) && !is.null(ci@quantiles$tmin) is not TRUE
  Error in fun(ci.csv) : 
    !is.null(ci@data$tmin) && !is.null(ci@quantiles$tmin) is not TRUE
  [1] "tn90p"
  Error in fun(ci) : 
    !is.null(ci@data$tmin) && !is.null(ci@quantiles$tmin) is not TRUE
  Error in fun(ci.csv) : 
    !is.null(ci@data$tmin) && !is.null(ci@quantiles$tmin) is not TRUE
  [1] "csdi"
  Error in fun(ci) : 
    !is.null(ci@data$tmin) && !is.null(ci@quantiles$tmin) is not TRUE
  Error in fun(ci.csv) : 
    !is.null(ci@data$tmin) && !is.null(ci@quantiles$tmin) is not TRUE
  [1] "dtr"
  Error in fun(ci) : 
    !is.null(ci@data$tmin) && !is.null(ci@data$tmax) && !is.null(ci@data$tavg) is not TRUE
  Error in fun(ci.csv) : 
    !is.null(ci@data$tmin) && !is.null(ci@data$tmax) && !is.null(ci@data$tavg) is not TRUE
  [1] "rx1day"
  Error in fun(ci) : !is.null(ci@data$prec) is not TRUE
  Error in fun(ci.csv) : !is.null(ci@data$prec) is not TRUE
  [1] "rx5day"
  Error in fun(ci) : !is.null(ci@data$prec) is not TRUE
  Error in fun(ci.csv) : !is.null(ci@data$prec) is not TRUE
  [1] "sdii"
  Error in fun(ci) : !is.null(ci@data$prec) is not TRUE
  Error in fun(ci.csv) : !is.null(ci@data$prec) is not TRUE
  [1] "r10mm"
  Error in fun(ci) : !is.null(ci@data$prec) is not TRUE
  Error in fun(ci.csv) : !is.null(ci@data$prec) is not TRUE
  [1] "r20mm"
  Error in fun(ci) : !is.null(ci@data$prec) is not TRUE
  Error in fun(ci.csv) : !is.null(ci@data$prec) is not TRUE
  [1] "rnnmm"
  Error in fun(ci) : !is.null(ci@data$prec) is not TRUE
  Error in fun(ci.csv) : !is.null(ci@data$prec) is not TRUE
  [1] "cdd"
  Error in fun(ci) : !is.null(ci@data$prec) is not TRUE
  Error in fun(ci.csv) : !is.null(ci@data$prec) is not TRUE
  [1] "cwd"
  Error in fun(ci) : !is.null(ci@data$prec) is not TRUE
  Error in fun(ci.csv) : !is.null(ci@data$prec) is not TRUE
  [1] "r95ptot"
  Error in fun(ci) : 
    !is.null(ci@data$prec) && !is.null(ci@quantiles$prec) is not TRUE
  Error in fun(ci.csv) : 
    !is.null(ci@data$prec) && !is.null(ci@quantiles$prec) is not TRUE
  [1] "r99ptot"
  Error in fun(ci) : 
    !is.null(ci@data$prec) && !is.null(ci@quantiles$prec) is not TRUE
  Error in fun(ci.csv) : 
    !is.null(ci@data$prec) && !is.null(ci@quantiles$prec) is not TRUE
  [1] "prcptot"
  Error in fun(ci) : !is.null(ci@data$prec) is not TRUE
  Error in fun(ci.csv) : !is.null(ci@data$prec) is not TRUE
  [1] "Checking success..."
  [1] "fd"
  [1] "tr"
  [1] "tnx"
  [1] "tnn"
  [1] "tn10p"
  [1] "tn90p"
  [1] "csdi"
  [1] "Checking error..."
  [1] "su"
  Error in fun(ci) : !is.null(ci@data$tmax) is not TRUE
  Error in fun(ci.csv) : !is.null(ci@data$tmax) is not TRUE
  [1] "id"
  Error in fun(ci) : !is.null(ci@data$tmax) is not TRUE
  Error in fun(ci.csv) : !is.null(ci@data$tmax) is not TRUE
  [1] "gsl"
  Error in fun(ci) : !is.null(ci@data$tavg) is not TRUE
  Error in fun(ci.csv) : !is.null(ci@data$tavg) is not TRUE
  [1] "txx"
  Error in fun(ci) : !is.null(ci@data$tmax) is not TRUE
  Error in fun(ci.csv) : !is.null(ci@data$tmax) is not TRUE
  [1] "txn"
  Error in fun(ci) : !is.null(ci@data$tmax) is not TRUE
  Error in fun(ci.csv) : !is.null(ci@data$tmax) is not TRUE
  [1] "tx10p"
  Error in fun(ci) : 
    !is.null(ci@data$tmax) && !is.null(ci@quantiles$tmax) is not TRUE
  Error in fun(ci.csv) : 
    !is.null(ci@data$tmax) && !is.null(ci@quantiles$tmax) is not TRUE
  [1] "tx90p"
  Error in fun(ci) : 
    !is.null(ci@data$tmax) && !is.null(ci@quantiles$tmax) is not TRUE
  Error in fun(ci.csv) : 
    !is.null(ci@data$tmax) && !is.null(ci@quantiles$tmax) is not TRUE
  [1] "wsdi"
  Error in fun(ci) : 
    !is.null(ci@data$tmax) && !is.null(ci@quantiles$tmax) is not TRUE
  Error in fun(ci.csv) : 
    !is.null(ci@data$tmax) && !is.null(ci@quantiles$tmax) is not TRUE
  [1] "dtr"
  Error in fun(ci) : 
    !is.null(ci@data$tmin) && !is.null(ci@data$tmax) && !is.null(ci@data$tavg) is not TRUE
  Error in fun(ci.csv) : 
    !is.null(ci@data$tmin) && !is.null(ci@data$tmax) && !is.null(ci@data$tavg) is not TRUE
  [1] "rx1day"
  Error in fun(ci) : !is.null(ci@data$prec) is not TRUE
  Error in fun(ci.csv) : !is.null(ci@data$prec) is not TRUE
  [1] "rx5day"
  Error in fun(ci) : !is.null(ci@data$prec) is not TRUE
  Error in fun(ci.csv) : !is.null(ci@data$prec) is not TRUE
  [1] "sdii"
  Error in fun(ci) : !is.null(ci@data$prec) is not TRUE
  Error in fun(ci.csv) : !is.null(ci@data$prec) is not TRUE
  [1] "r10mm"
  Error in fun(ci) : !is.null(ci@data$prec) is not TRUE
  Error in fun(ci.csv) : !is.null(ci@data$prec) is not TRUE
  [1] "r20mm"
  Error in fun(ci) : !is.null(ci@data$prec) is not TRUE
  Error in fun(ci.csv) : !is.null(ci@data$prec) is not TRUE
  [1] "rnnmm"
  Error in fun(ci) : !is.null(ci@data$prec) is not TRUE
  Error in fun(ci.csv) : !is.null(ci@data$prec) is not TRUE
  [1] "cdd"
  Error in fun(ci) : !is.null(ci@data$prec) is not TRUE
  Error in fun(ci.csv) : !is.null(ci@data$prec) is not TRUE
  [1] "cwd"
  Error in fun(ci) : !is.null(ci@data$prec) is not TRUE
  Error in fun(ci.csv) : !is.null(ci@data$prec) is not TRUE
  [1] "r95ptot"
  Error in fun(ci) : 
    !is.null(ci@data$prec) && !is.null(ci@quantiles$prec) is not TRUE
  Error in fun(ci.csv) : 
    !is.null(ci@data$prec) && !is.null(ci@quantiles$prec) is not TRUE
  [1] "r99ptot"
  Error in fun(ci) : 
    !is.null(ci@data$prec) && !is.null(ci@quantiles$prec) is not TRUE
  Error in fun(ci.csv) : 
    !is.null(ci@data$prec) && !is.null(ci@quantiles$prec) is not TRUE
  [1] "prcptot"
  Error in fun(ci) : !is.null(ci@data$prec) is not TRUE
  Error in fun(ci.csv) : !is.null(ci@data$prec) is not TRUE
  [1] "Checking success..."
  [1] "su"
  [1] "id"
  [1] "txx"
  [1] "txn"
  [1] "tx10p"
  [1] "tx90p"
  [1] "wsdi"
  [1] "fd"
  [1] "tr"
  [1] "tnx"
  [1] "tnn"
  [1] "tn10p"
  [1] "tn90p"
  [1] "csdi"
  [1] "gsl"
  [1] "dtr"
  [1] "Checking error..."
  [1] "rx1day"
  Error in fun(ci) : !is.null(ci@data$prec) is not TRUE
  Error in fun(ci.csv) : !is.null(ci@data$prec) is not TRUE
  [1] "rx5day"
  Error in fun(ci) : !is.null(ci@data$prec) is not TRUE
  Error in fun(ci.csv) : !is.null(ci@data$prec) is not TRUE
  [1] "sdii"
  Error in fun(ci) : !is.null(ci@data$prec) is not TRUE
  Error in fun(ci.csv) : !is.null(ci@data$prec) is not TRUE
  [1] "r10mm"
  Error in fun(ci) : !is.null(ci@data$prec) is not TRUE
  Error in fun(ci.csv) : !is.null(ci@data$prec) is not TRUE
  [1] "r20mm"
  Error in fun(ci) : !is.null(ci@data$prec) is not TRUE
  Error in fun(ci.csv) : !is.null(ci@data$prec) is not TRUE
  [1] "rnnmm"
  Error in fun(ci) : !is.null(ci@data$prec) is not TRUE
  Error in fun(ci.csv) : !is.null(ci@data$prec) is not TRUE
  [1] "cdd"
  Error in fun(ci) : !is.null(ci@data$prec) is not TRUE
  Error in fun(ci.csv) : !is.null(ci@data$prec) is not TRUE
  [1] "cwd"
  Error in fun(ci) : !is.null(ci@data$prec) is not TRUE
  Error in fun(ci.csv) : !is.null(ci@data$prec) is not TRUE
  [1] "r95ptot"
  Error in fun(ci) : 
    !is.null(ci@data$prec) && !is.null(ci@quantiles$prec) is not TRUE
  Error in fun(ci.csv) : 
    !is.null(ci@data$prec) && !is.null(ci@quantiles$prec) is not TRUE
  [1] "r99ptot"
  Error in fun(ci) : 
    !is.null(ci@data$prec) && !is.null(ci@quantiles$prec) is not TRUE
  Error in fun(ci.csv) : 
    !is.null(ci@data$prec) && !is.null(ci@quantiles$prec) is not TRUE
  [1] "prcptot"
  Error in fun(ci) : !is.null(ci@data$prec) is not TRUE
  Error in fun(ci.csv) : !is.null(ci@data$prec) is not TRUE
  [1] "Checking success..."
  [1] "rx1day"
  [1] "rx5day"
  [1] "sdii"
  [1] "r10mm"
  [1] "r20mm"
  [1] "rnnmm"
  [1] "cdd"
  [1] "cwd"
  [1] "r95ptot"
  [1] "r99ptot"
  [1] "prcptot"
  [1] "Checking error..."
  [1] "fd"
  Error in fun(ci) : !is.null(ci@data$tmin) is not TRUE
  Error in fun(ci.csv) : !is.null(ci@data$tmin) is not TRUE
  [1] "su"
  Error in fun(ci) : !is.null(ci@data$tmax) is not TRUE
  Error in fun(ci.csv) : !is.null(ci@data$tmax) is not TRUE
  [1] "id"
  Error in fun(ci) : !is.null(ci@data$tmax) is not TRUE
  Error in fun(ci.csv) : !is.null(ci@data$tmax) is not TRUE
  [1] "tr"
  Error in fun(ci) : !is.null(ci@data$tmin) is not TRUE
  Error in fun(ci.csv) : !is.null(ci@data$tmin) is not TRUE
  [1] "gsl"
  Error in fun(ci) : !is.null(ci@data$tavg) is not TRUE
  Error in fun(ci.csv) : !is.null(ci@data$tavg) is not TRUE
  [1] "txx"
  Error in fun(ci) : !is.null(ci@data$tmax) is not TRUE
  Error in fun(ci.csv) : !is.null(ci@data$tmax) is not TRUE
  [1] "tnx"
  Error in fun(ci) : !is.null(ci@data$tmin) is not TRUE
  Error in fun(ci.csv) : !is.null(ci@data$tmin) is not TRUE
  [1] "txn"
  Error in fun(ci) : !is.null(ci@data$tmax) is not TRUE
  Error in fun(ci.csv) : !is.null(ci@data$tmax) is not TRUE
  [1] "tnn"
  Error in fun(ci) : !is.null(ci@data$tmin) is not TRUE
  Error in fun(ci.csv) : !is.null(ci@data$tmin) is not TRUE
  [1] "tn10p"
  Error in fun(ci) : 
    !is.null(ci@data$tmin) && !is.null(ci@quantiles$tmin) is not TRUE
  Error in fun(ci.csv) : 
    !is.null(ci@data$tmin) && !is.null(ci@quantiles$tmin) is not TRUE
  [1] "tx10p"
  Error in fun(ci) : 
    !is.null(ci@data$tmax) && !is.null(ci@quantiles$tmax) is not TRUE
  Error in fun(ci.csv) : 
    !is.null(ci@data$tmax) && !is.null(ci@quantiles$tmax) is not TRUE
  [1] "tn90p"
  Error in fun(ci) : 
    !is.null(ci@data$tmin) && !is.null(ci@quantiles$tmin) is not TRUE
  Error in fun(ci.csv) : 
    !is.null(ci@data$tmin) && !is.null(ci@quantiles$tmin) is not TRUE
  [1] "tx90p"
  Error in fun(ci) : 
    !is.null(ci@data$tmax) && !is.null(ci@quantiles$tmax) is not TRUE
  Error in fun(ci.csv) : 
    !is.null(ci@data$tmax) && !is.null(ci@quantiles$tmax) is not TRUE
  [1] "wsdi"
  Error in fun(ci) : 
    !is.null(ci@data$tmax) && !is.null(ci@quantiles$tmax) is not TRUE
  Error in fun(ci.csv) : 
    !is.null(ci@data$tmax) && !is.null(ci@quantiles$tmax) is not TRUE
  [1] "csdi"
  Error in fun(ci) : 
    !is.null(ci@data$tmin) && !is.null(ci@quantiles$tmin) is not TRUE
  Error in fun(ci.csv) : 
    !is.null(ci@data$tmin) && !is.null(ci@quantiles$tmin) is not TRUE
  [1] "dtr"
  Error in fun(ci) : 
    !is.null(ci@data$tmin) && !is.null(ci@data$tmax) && !is.null(ci@data$tavg) is not TRUE
  Error in fun(ci.csv) : 
    !is.null(ci@data$tmin) && !is.null(ci@data$tmax) && !is.null(ci@data$tavg) is not TRUE
  [1] "Checking success..."
  [1] "su"
  [1] "id"
  [1] "txx"
  [1] "txn"
  [1] "tx10p"
  [1] "tx90p"
  [1] "wsdi"
  [1] "rx1day"
  [1] "rx5day"
  [1] "sdii"
  [1] "r10mm"
  [1] "r20mm"
  [1] "rnnmm"
  [1] "cdd"
  [1] "cwd"
  [1] "r95ptot"
  [1] "r99ptot"
  [1] "prcptot"
  [1] "Checking error..."
  [1] "fd"
  Error in fun(ci) : !is.null(ci@data$tmin) is not TRUE
  Error in fun(ci.csv) : !is.null(ci@data$tmin) is not TRUE
  [1] "tr"
  Error in fun(ci) : !is.null(ci@data$tmin) is not TRUE
  Error in fun(ci.csv) : !is.null(ci@data$tmin) is not TRUE
  [1] "gsl"
  Error in fun(ci) : !is.null(ci@data$tavg) is not TRUE
  Error in fun(ci.csv) : !is.null(ci@data$tavg) is not TRUE
  [1] "tnx"
  Error in fun(ci) : !is.null(ci@data$tmin) is not TRUE
  Error in fun(ci.csv) : !is.null(ci@data$tmin) is not TRUE
  [1] "tnn"
  Error in fun(ci) : !is.null(ci@data$tmin) is not TRUE
  Error in fun(ci.csv) : !is.null(ci@data$tmin) is not TRUE
  [1] "tn10p"
  Error in fun(ci) : 
    !is.null(ci@data$tmin) && !is.null(ci@quantiles$tmin) is not TRUE
  Error in fun(ci.csv) : 
    !is.null(ci@data$tmin) && !is.null(ci@quantiles$tmin) is not TRUE
  [1] "tn90p"
  Error in fun(ci) : 
    !is.null(ci@data$tmin) && !is.null(ci@quantiles$tmin) is not TRUE
  Error in fun(ci.csv) : 
    !is.null(ci@data$tmin) && !is.null(ci@quantiles$tmin) is not TRUE
  [1] "csdi"
  Error in fun(ci) : 
    !is.null(ci@data$tmin) && !is.null(ci@quantiles$tmin) is not TRUE
  Error in fun(ci.csv) : 
    !is.null(ci@data$tmin) && !is.null(ci@quantiles$tmin) is not TRUE
  [1] "dtr"
  Error in fun(ci) : 
    !is.null(ci@data$tmin) && !is.null(ci@data$tmax) && !is.null(ci@data$tavg) is not TRUE
  Error in fun(ci.csv) : 
    !is.null(ci@data$tmin) && !is.null(ci@data$tmax) && !is.null(ci@data$tavg) is not TRUE
  [1] "Checking success..."
  [1] "fd"
  [1] "tr"
  [1] "tnx"
  [1] "tnn"
  [1] "tn10p"
  [1] "tn90p"
  [1] "csdi"
  [1] "rx1day"
  [1] "rx5day"
  [1] "sdii"
  [1] "r10mm"
  [1] "r20mm"
  [1] "rnnmm"
  [1] "cdd"
  [1] "cwd"
  [1] "r95ptot"
  [1] "r99ptot"
  [1] "prcptot"
  [1] "Checking error..."
  [1] "su"
  Error in fun(ci) : !is.null(ci@data$tmax) is not TRUE
  Error in fun(ci.csv) : !is.null(ci@data$tmax) is not TRUE
  [1] "id"
  Error in fun(ci) : !is.null(ci@data$tmax) is not TRUE
  Error in fun(ci.csv) : !is.null(ci@data$tmax) is not TRUE
  [1] "gsl"
  Error in fun(ci) : !is.null(ci@data$tavg) is not TRUE
  Error in fun(ci.csv) : !is.null(ci@data$tavg) is not TRUE
  [1] "txx"
  Error in fun(ci) : !is.null(ci@data$tmax) is not TRUE
  Error in fun(ci.csv) : !is.null(ci@data$tmax) is not TRUE
  [1] "txn"
  Error in fun(ci) : !is.null(ci@data$tmax) is not TRUE
  Error in fun(ci.csv) : !is.null(ci@data$tmax) is not TRUE
  [1] "tx10p"
  Error in fun(ci) : 
    !is.null(ci@data$tmax) && !is.null(ci@quantiles$tmax) is not TRUE
  Error in fun(ci.csv) : 
    !is.null(ci@data$tmax) && !is.null(ci@quantiles$tmax) is not TRUE
  [1] "tx90p"
  Error in fun(ci) : 
    !is.null(ci@data$tmax) && !is.null(ci@quantiles$tmax) is not TRUE
  Error in fun(ci.csv) : 
    !is.null(ci@data$tmax) && !is.null(ci@quantiles$tmax) is not TRUE
  [1] "wsdi"
  Error in fun(ci) : 
    !is.null(ci@data$tmax) && !is.null(ci@quantiles$tmax) is not TRUE
  Error in fun(ci.csv) : 
    !is.null(ci@data$tmax) && !is.null(ci@quantiles$tmax) is not TRUE
  [1] "dtr"
  Error in fun(ci) : 
    !is.null(ci@data$tmin) && !is.null(ci@data$tmax) && !is.null(ci@data$tavg) is not TRUE
  Error in fun(ci.csv) : 
    !is.null(ci@data$tmin) && !is.null(ci@data$tmax) && !is.null(ci@data$tavg) is not TRUE
  [1] "Checking success..."
  [1] "su"
  [1] "id"
  [1] "txx"
  [1] "txn"
  [1] "tx10p"
  [1] "tx90p"
  [1] "wsdi"
  [1] "fd"
  [1] "tr"
  [1] "tnx"
  [1] "tnn"
  [1] "tn10p"
  [1] "tn90p"
  [1] "csdi"
  [1] "rx1day"
  [1] "rx5day"
  [1] "sdii"
  [1] "r10mm"
  [1] "r20mm"
  [1] "rnnmm"
  [1] "cdd"
  [1] "cwd"
  [1] "r95ptot"
  [1] "r99ptot"
  [1] "prcptot"
  [1] "gsl"
  [1] "dtr"
  [1] "Checking error..."
   done successfully.
  
  
  
  Executing test function climdex.pcic.test.thresholds.edge.cases  ...  done successfully.
  
  
  
  Executing test function climdex.pcic.test.one.column.dates  ...  done successfully.
  
  
  
  Executing test function climdex.pcic.test.bootstrap.quantiles  ... Checking in base for tmin, 10th percentile, day 1
  Checking in base for tmin, 10th percentile, day 2
  Checking in base for tmin, 10th percentile, day 185
  Checking in base for tmin, 10th percentile, day 364
  Checking in base for tmin, 10th percentile, day 365
  Checking out base for tmin, 10th percentile
  Checking in base for tmin, 90th percentile, day 1
  Checking in base for tmin, 90th percentile, day 2
  Checking in base for tmin, 90th percentile, day 185
  Checking in base for tmin, 90th percentile, day 364
  Checking in base for tmin, 90th percentile, day 365
  Checking out base for tmin, 90th percentile
  Checking in base for tmax, 10th percentile, day 1
  Checking in base for tmax, 10th percentile, day 2
  Checking in base for tmax, 10th percentile, day 185
  Checking in base for tmax, 10th percentile, day 364
  Checking in base for tmax, 10th percentile, day 365
  Checking out base for tmax, 10th percentile
  Checking in base for tmax, 90th percentile, day 1
  Checking in base for tmax, 90th percentile, day 2
  Checking in base for tmax, 90th percentile, day 185
  Checking in base for tmax, 90th percentile, day 364
  Checking in base for tmax, 90th percentile, day 365
  Checking out base for tmax, 90th percentile
   done successfully.
  
  
  
  Executing test function climdex.pcic.test.get.series.lengths.at.ends  ...  done successfully.
  
  
  
  Executing test function climdex.pcic.test.growing.season.length  ...  done successfully.
  
  
  
  Executing test function climdex.pcic.test.nday.consec.prec.max  ...  done successfully.
  
  
  
  Executing test function climdex.pcic.test.number.days.op.threshold  ...  done successfully.
  
  
  
  Executing test function climdex.pcic.test.percent.days.op.threshold  ...  done successfully.
  
  
  
  Executing test function climdex.pcic.test.quantile  ... Timing stopped at: 0.002 0 0.002
  Error in names(qs) <- format_perc(probs) : 
    attempt to set an attribute on NULL
  In addition: There were 30 warnings (use warnings() to see them)
   done successfully.
  
  
  
  Executing test function climdex.pcic.test.select.blocks  ...  done successfully.
  
  
  
  Executing test function climdex.pcic.test.simple.precipitation.intensity.index  ...  done successfully.
  
  
  
  Executing test function climdex.pcic.test.spell.length.max  ...  done successfully.
  
  
  
  Executing test function climdex.pcic.test.threshold.exceedance.duration.index  ...  done successfully.
  
  
  
  Executing test function climdex.pcic.test.total.precip.op.threshold  ...  done successfully.
  
  RUNIT TEST PROTOCOL -- Sun Sep 13 14:16:31 2020 
  *********************************************** 
  Number of test functions: 17 
  Number of errors: 1 
  Number of failures: 0 
  
   
  1 Test Suite : 
  climdex.pcic - 17 test functions, 1 error, 0 failures
  ERROR in climdex.pcic.test.quantile: Error in names(qs) <- format_perc(probs) : 
    attempt to set an attribute on NULL
  
  
  
  Details 
  *************************** 
  Test Suite: climdex.pcic 
  Test function regexp: ^climdex.pcic.test.+ 
  Test file regexp: ^test_.+.R$ 
  Involved directory: 
  . 
  --------------------------- 
  Test file: ./test_helper_functions.R 
  climdex.pcic.test.running.mean: (5 checks) ... OK (0 seconds)
  --------------------------- 
  Test file: ./test_indices.R 
  climdex.pcic.test.climdex.gsl: (1 checks) ... OK (0.43 seconds)
  climdex.pcic.test.intake.routines: (378 checks) ... OK (4.87 seconds)
  climdex.pcic.test.thresholds.edge.cases: (5 checks) ... OK (0.05 seconds)
  --------------------------- 
  Test file: ./test_issue_7.R 
  climdex.pcic.test.one.column.dates: (1 checks) ... OK (0.23 seconds)
  --------------------------- 
  Test file: ./test_primitives.R 
  climdex.pcic.test.bootstrap.quantiles: (24 checks) ... OK (49.18 seconds)
  climdex.pcic.test.get.series.lengths.at.ends: (1 checks) ... OK (0 seconds)
  climdex.pcic.test.growing.season.length: (1 checks) ... OK (0.25 seconds)
  climdex.pcic.test.nday.consec.prec.max: (4 checks) ... OK (0 seconds)
  climdex.pcic.test.number.days.op.threshold: (1 checks) ... OK (0 seconds)
  climdex.pcic.test.percent.days.op.threshold: (1 checks) ... OK (0.22 seconds)
  climdex.pcic.test.quantile: ERROR !! 
  Error in names(qs) <- format_perc(probs) : 
    attempt to set an attribute on NULL
  climdex.pcic.test.select.blocks: (3 checks) ... OK (0 seconds)
  climdex.pcic.test.simple.precipitation.intensity.index: (1 checks) ... OK (0 seconds)
  climdex.pcic.test.spell.length.max: (2 checks) ... OK (0 seconds)
  climdex.pcic.test.threshold.exceedance.duration.index: (2 checks) ... OK (0 seconds)
  climdex.pcic.test.total.precip.op.threshold: (1 checks) ... OK (0 seconds)
  Error: climdex.pcic.test.result$climdex.pcic$nFail == 0 && climdex.pcic.test.result$climdex.pcic$nErr ==  .... is not TRUE
  Execution halted