Running ‘testthat.R’ [12s/19s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(diffdf)
  > 
  > test_check("diffdf")
  
  Attaching package: 'purrr'
  
  The following object is masked from 'package:testthat':
  
      is_null
  
  ── 1. Failure: Unequal object, checking numbers correct (@test-core.R#189)  ────
  diffdf_ob$`No of Differences`[1] not equal to `value`.
  1/1 mismatches
  [1] 6 - 8 == -2
  Number of differences incorrect
  
  ── 2. Failure: can handle multple errors including key vars (@test-issuerows.R#1
  nrow(dat1) not equal to 9.
  1/1 mismatches
  [1] 8 - 9 == -1
  
  ── 3. Failure: can handle multple errors including key vars (@test-issuerows.R#1
  nrow(dat2) not equal to 9.
  1/1 mismatches
  [1] 8 - 9 == -1
  
  ── 4. Failure: (unknown) (@test-print_output.R#51)  ────────────────────────────
  RES[[i]] not equal to TESTING_print_msg[[i]].
  Lengths differ: 36 is not 38
  Reference = 7 - Different Levels
  
  ── 5. Failure: (unknown) (@test-print_output.R#51)  ────────────────────────────
  RES[[i]] not equal to TESTING_print_msg[[i]].
  Lengths differ: 36 is not 38
  Reference = 8 - Different Levels 2
  
  ── 6. Failure: (unknown) (@test-print_output.R#51)  ────────────────────────────
  RES[[i]] not equal to TESTING_print_msg[[i]].
  Lengths differ: 88 is not 90
  Reference = 17 - everything
  
  ── 7. Failure: (unknown) (@test-print_output.R#51)  ────────────────────────────
  RES[[i]] not equal to TESTING_print_msg[[i]].
  Lengths differ: 88 is not 90
  Reference = 18 - everything 2
  
  ── 8. Failure: (unknown) (@test-print_output.R#51)  ────────────────────────────
  RES[[i]] not equal to TESTING_print_msg[[i]].
  Lengths differ: 88 is not 90
  Reference = 20 - With 1 key
  
  ── 9. Failure: (unknown) (@test-print_output.R#51)  ────────────────────────────
  RES[[i]] not equal to TESTING_print_msg[[i]].
  Lengths differ: 88 is not 90
  Reference = 21 - With 2 keys
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 559 SKIPPED: 0 FAILED: 9
  1. Failure: Unequal object, checking numbers correct (@test-core.R#189) 
  2. Failure: can handle multple errors including key vars (@test-issuerows.R#119) 
  3. Failure: can handle multple errors including key vars (@test-issuerows.R#120) 
  4. Failure: (unknown) (@test-print_output.R#51) 
  5. Failure: (unknown) (@test-print_output.R#51) 
  6. Failure: (unknown) (@test-print_output.R#51) 
  7. Failure: (unknown) (@test-print_output.R#51) 
  8. Failure: (unknown) (@test-print_output.R#51) 
  9. Failure: (unknown) (@test-print_output.R#51) 
  
  Error: testthat unit tests failed
  Execution halted