Running ‘spelling.R’
  Running ‘testthat.R’ [32s/36s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(airGRiwrm)
  Loading required package: airGR
  
  Attaching package: 'airGRiwrm'
  
  The following objects are masked from 'package:airGR':
  
      Calibration, CreateCalibOptions, CreateInputsCrit,
      CreateInputsModel, CreateRunOptions, RunModel
  
  > 
  > test_check("airGRiwrm")
  [ FAIL 2 | WARN 0 | SKIP 5 | PASS 231 ]
  
  ══ Skipped tests (5) ═══════════════════════════════════════════════════════════
  • On CRAN (5): 'test-Calibration.R:42:3', 'test-Calibration.R:62:1',
    'test-RunModel.Supervisor.R:1:1', 'test-RunModel_Reservoir.R:14:1',
    'test-RunModel_Ungauged.R:1:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-CreateInputsCrit.R:125:3'): Lavenne criterion: not upstream a priori nodes are allow if processed before #156 ──
  Error in `cbind(InputsCrit$BoolCrit, BoolCrit_Actual)`: cannot get data pointer of 'NULL' objects
  Backtrace:
      ▆
   1. └─airGRiwrm:::runCalibration(...) at test-CreateInputsCrit.R:125:3
   2.   ├─airGRiwrm::Calibration(InputsModel, RunOptions, InputsCrit, CalibOptions) at tests/testthat/helper_Calibration.R:37:5
   3.   └─airGRiwrm:::Calibration.GRiwrmInputsModel(...)
   4.     ├─airGRiwrm::Calibration(...)
   5.     └─airGRiwrm:::Calibration.InputsModel(...)
   6.       └─airGR::Calibration(...)
   7.         └─airGR (local) FUN_CALIB(...)
   8.           └─base::cbind(InputsCrit$BoolCrit, BoolCrit_Actual)
  ── Error ('test-CreateInputsCrit.R:156:3'): Lavenne criterion: redefined calibration order works #157 ──
  Error in `cbind(InputsCrit$BoolCrit, BoolCrit_Actual)`: cannot get data pointer of 'NULL' objects
  Backtrace:
      ▆
   1. └─airGRiwrm:::runCalibration(...) at test-CreateInputsCrit.R:156:3
   2.   ├─airGRiwrm::Calibration(InputsModel, RunOptions, InputsCrit, CalibOptions) at tests/testthat/helper_Calibration.R:37:5
   3.   └─airGRiwrm:::Calibration.GRiwrmInputsModel(...)
   4.     ├─airGRiwrm::Calibration(...)
   5.     └─airGRiwrm:::Calibration.InputsModel(...)
   6.       └─airGR::Calibration(...)
   7.         └─airGR (local) FUN_CALIB(...)
   8.           └─base::cbind(InputsCrit$BoolCrit, BoolCrit_Actual)
  
  [ FAIL 2 | WARN 0 | SKIP 5 | PASS 231 ]
  Error: Test failures
  Execution halted