Running ‘testthat.R’ [46s/47s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(madrat)
  Loading required package: magclass
  > 
  > test_check("madrat")
  [ FAIL 3 | WARN 2 | SKIP 8 | PASS 581 ]
  
  ══ Skipped tests (8) ═══════════════════════════════════════════════════════════
  • On CRAN (7): 'test-calcOutput.R:23:3', 'test-calcOutput.R:114:3',
    'test-metadataGFZ.R:2:3', 'test-puc.R:2:4', 'test-readSource.R:55:3',
    'test-readSource.R:61:3', 'test-readSource.R:70:3'
  • {reshape2} is not installed (1): 'test-calcOutput.R:450:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-toolCountryFill.R:5:3'): toolCountryFill works as expected ───
  y["DEU", , ] == 0 is not TRUE
  
      is(actual)  | is(expected)      
  [1] "magpie"    - "logical"      [1]
  [2] "array"     - "vector"       [2]
  [3] "structure" - "index"        [3]
  [4] "vector"    - "replValue"    [4]
                  - "numLike"      [5]
                  - "atomicVector" [6]
  
  `dim(actual)` is an integer vector (1, 1, 1)
  `dim(expected)` is absent
  
  `dimnames(actual)` is a list
  `dimnames(expected)` is absent
  ── Failure ('test-toolCountryFill.R:22:3'): toolCountryFill works as expected ──
  toolCountryFill(x3, 99, FRA = "DEU")["FRA", , ] == 42 is not TRUE
  
      is(actual)  | is(expected)      
  [1] "magpie"    - "logical"      [1]
  [2] "array"     - "vector"       [2]
  [3] "structure" - "index"        [3]
  [4] "vector"    - "replValue"    [4]
                  - "numLike"      [5]
                  - "atomicVector" [6]
  
  `dim(actual)` is an integer vector (1, 1, 1)
  `dim(expected)` is absent
  
  `dimnames(actual)` is a list
  `dimnames(expected)` is absent
  ── Failure ('test-toolCountryFill.R:24:3'): toolCountryFill works as expected ──
  y5["FRA", , ] == 0 is not TRUE
  
      is(actual)  | is(expected)      
  [1] "magpie"    - "logical"      [1]
  [2] "array"     - "vector"       [2]
  [3] "structure" - "index"        [3]
  [4] "vector"    - "replValue"    [4]
                  - "numLike"      [5]
                  - "atomicVector" [6]
  
  `dim(actual)` is an integer vector (1, 1, 1)
  `dim(expected)` is absent
  
  `dimnames(actual)` is a list
  `dimnames(expected)` is absent
  
  [ FAIL 3 | WARN 2 | SKIP 8 | PASS 581 ]
  Error: Test failures
  Execution halted