Running ‘testthat.R’ [77s/84s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > test_check("RCMIP5")
  Loading required package: RCMIP5
  ── 1. Failure: monthly data (@test_chainedOperations.R#42)  ────────────────────
  d12$val not equal to d22$val.
  Names: 5 string mismatches
  Component 2: Modes: numeric, logical
  Component 2: target is numeric, current is logical
  Component 3: Modes: numeric, logical
  Component 3: target is numeric, current is logical
  Component 4: Modes: logical, numeric
  Component 4: target is logical, current is numeric
  Component 5: Modes: logical, numeric
  Component 5: target is logical, current is numeric
  data.frame
  
  ── 2. Failure: monthly data (@test_chainedOperations.R#63)  ────────────────────
  d32$val not equal to d42$val.
  Names: 5 string mismatches
  Component 2: Modes: numeric, logical
  Component 2: target is numeric, current is logical
  Component 3: Modes: numeric, logical
  Component 3: target is numeric, current is logical
  Component 4: Modes: logical, numeric
  Component 4: target is logical, current is numeric
  Component 5: Modes: logical, numeric
  Component 5: target is logical, current is numeric
  data.frame
  
  ── 3. Failure: annual data (@test_chainedOperations.R#97)  ─────────────────────
  d12$val not equal to d22$val.
  Names: 5 string mismatches
  Component 2: Modes: numeric, logical
  Component 2: target is numeric, current is logical
  Component 3: Modes: numeric, logical
  Component 3: target is numeric, current is logical
  Component 4: Modes: logical, numeric
  Component 4: target is logical, current is numeric
  Component 5: Modes: logical, numeric
  Component 5: target is logical, current is numeric
  data.frame
  
  ── 4. Failure: four-D data (@test_chainedOperations.R#132)  ────────────────────
  d12$val not equal to d22$val.
  Names: 5 string mismatches
  Component 1: Modes: numeric, logical
  Component 1: target is numeric, current is logical
  Component 2: Modes: numeric, logical
  Component 2: target is numeric, current is logical
  Component 3: Mean relative difference: 2
  Component 4: Modes: logical, numeric
  Component 4: target is logical, current is numeric
  Component 5: Modes: logical, numeric
  ...
  data.frame
  
  ── 5. Failure: four-D data (@test_chainedOperations.R#159)  ────────────────────
  d33$val not equal to d43$val.
  Names: 5 string mismatches
  Component 2: Modes: numeric, logical
  Component 2: target is numeric, current is logical
  Component 3: Modes: numeric, logical
  Component 3: target is numeric, current is logical
  Component 4: Modes: logical, numeric
  Component 4: target is logical, current is numeric
  Component 5: Modes: logical, numeric
  Component 5: target is logical, current is numeric
  data.frame
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 799 | SKIPPED: 29 | WARNINGS: 1 | FAILED: 5 ]
  1. Failure: monthly data (@test_chainedOperations.R#42) 
  2. Failure: monthly data (@test_chainedOperations.R#63) 
  3. Failure: annual data (@test_chainedOperations.R#97) 
  4. Failure: four-D data (@test_chainedOperations.R#132) 
  5. Failure: four-D data (@test_chainedOperations.R#159) 
  
  Error: testthat unit tests failed
  Execution halted