Running ‘testthat.R’ [83s/78s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > ################################################################################
  > # TODO LIST
  > # TODO: Add test for calculateResultType and other functions.
  > 
  > ################################################################################
  > # CHANGE LOG
  > # 24.12.2014: Second try, update to thestthat 0.8.1
  > # 05.12.2013: Updated to thestthat 0.8
  > 
  > 
  > # Load testthat package.
  > library(testthat)
  > 
  > # Run all tests.
  > test_check(package="strvalidator")
  Loading required package: strvalidator
  STR-validator 2.1.0 loaded!
  OMP: Warning #96: Cannot form a team with 24 threads, using 2 instead.
  OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set).
  ── 1. Failure: calculateAllT (@test-calculateAllT.r#70)  ───────────────────────
  res[1, 2] not equal to 611.
  1/1 mismatches
  [1] 734 - 611 == 123
  
  ── 2. Failure: calculateAllT (@test-calculateAllT.r#74)  ───────────────────────
  res[5, 2] not equal to 531.
  1/1 mismatches
  [1] 547 - 531 == 16
  
  ── 3. Failure: calculateAllT (@test-calculateAllT.r#78)  ───────────────────────
  res[9, 2] not equal to 883.
  1/1 mismatches
  [1] 1024 - 883 == 141
  
  ── 4. Failure: calculateAllT (@test-calculateAllT.r#82)  ───────────────────────
  res[13, 2] not equal to 744.
  1/1 mismatches
  [1] 773 - 744 == 29
  
  ── 5. Failure: calculateAllT (@test-calculateAllT.r#88)  ───────────────────────
  res[1, 3] not equal to 1112.
  1/1 mismatches
  [1] 1183 - 1112 == 71
  
  ── 6. Failure: calculateAllT (@test-calculateAllT.r#92)  ───────────────────────
  res[5, 3] not equal to 779.
  1/1 mismatches
  [1] 772 - 779 == -7
  
  ── 7. Failure: calculateAllT (@test-calculateAllT.r#96)  ───────────────────────
  res[9, 3] not equal to 2345.
  1/1 mismatches
  [1] 2398 - 2345 == 53
  
  ── 8. Failure: calculateAllT (@test-calculateAllT.r#100)  ──────────────────────
  res[13, 3] not equal to 1467.
  1/1 mismatches
  [1] 1428 - 1467 == -39
  
  ── 9. Failure: calculateAllT (@test-calculateAllT.r#106)  ──────────────────────
  res[1, 4] not equal to 0.8505.
  1/1 mismatches
  [1] 1 - 0.851 == 0.149
  
  ── 10. Failure: calculateAllT (@test-calculateAllT.r#110)  ─────────────────────
  res[5, 4] not equal to 0.9999.
  1/1 mismatches
  [1] 0.944 - 1 == -0.0555
  
  ── 11. Failure: calculateAllT (@test-calculateAllT.r#114)  ─────────────────────
  res[9, 4] not equal to 0.348.
  1/1 mismatches
  [1] 0.994 - 0.348 == 0.646
  
  ── 12. Failure: calculateAllT (@test-calculateAllT.r#118)  ─────────────────────
  res[13, 4] not equal to 0.9871.
  1/1 mismatches
  [1] 0.711 - 0.987 == -0.276
  
  ── 13. Failure: calculateAllT (@test-calculateAllT.r#124)  ─────────────────────
  res[1, 5] not equal to -0.3754.
  1/1 mismatches
  [1] -0.274 - -0.375 == 0.101
  
  ── 14. Failure: calculateAllT (@test-calculateAllT.r#128)  ─────────────────────
  res[5, 5] not equal to 0.7768.
  1/1 mismatches
  [1] 1.05 - 0.777 == 0.272
  
  ── 15. Failure: calculateAllT (@test-calculateAllT.r#132)  ─────────────────────
  res[9, 5] not equal to 6.9153.
  1/1 mismatches
  [1] 7.39 - 6.92 == 0.479
  
  ── 16. Failure: calculateAllT (@test-calculateAllT.r#136)  ─────────────────────
  res[13, 5] not equal to 10.6388.
  1/1 mismatches
  [1] 11.5 - 10.6 == 0.825
  
  ── 17. Failure: calculateAllT (@test-calculateAllT.r#142)  ─────────────────────
  res[1, 6] not equal to -0.0069.
  1/1 mismatches
  [1] -0.0059 - -0.0069 == 0.001
  
  ── 18. Failure: calculateAllT (@test-calculateAllT.r#146)  ─────────────────────
  res[5, 6] not equal to -0.0101.
  1/1 mismatches
  [1] -0.0103 - -0.0101 == -2e-04
  
  ── 19. Failure: calculateAllT (@test-calculateAllT.r#150)  ─────────────────────
  res[9, 6] not equal to -1.697.
  1/1 mismatches
  [1] -1.73 - -1.7 == -0.0326
  
  ── 20. Failure: calculateAllT (@test-calculateAllT.r#154)  ─────────────────────
  res[13, 6] not equal to -2.3039.
  1/1 mismatches
  [1] -2.41 - -2.3 == -0.111
  
  ── 21. Failure: calculateAllT (@test-calculateAllT.r#160)  ─────────────────────
  res[1, 7] not equal to 381.
  1/1 mismatches
  [1] 378 - 381 == -3
  
  ── 22. Failure: calculateAllT (@test-calculateAllT.r#164)  ─────────────────────
  res[5, 7] not equal to 381.
  1/1 mismatches
  [1] 378 - 381 == -3
  
  ── 23. Failure: calculateAllT (@test-calculateAllT.r#168)  ─────────────────────
  res[9, 7] not equal to 381.
  1/1 mismatches
  [1] 378 - 381 == -3
  
  ── 24. Failure: calculateAllT (@test-calculateAllT.r#172)  ─────────────────────
  res[13, 7] not equal to 381.
  1/1 mismatches
  [1] 378 - 381 == -3
  
  ── 25. Failure: calculateAllT (@test-calculateAllT.r#178)  ─────────────────────
  res[1, 8] not equal to 17.
  1/1 mismatches
  [1] 20 - 17 == 3
  
  ── 26. Failure: calculateAllT (@test-calculateAllT.r#182)  ─────────────────────
  res[5, 8] not equal to 17.
  1/1 mismatches
  [1] 20 - 17 == 3
  
  ── 27. Failure: calculateAllT (@test-calculateAllT.r#186)  ─────────────────────
  res[9, 8] not equal to 17.
  1/1 mismatches
  [1] 20 - 17 == 3
  
  ── 28. Failure: calculateAllT (@test-calculateAllT.r#190)  ─────────────────────
  res[13, 8] not equal to 17.
  1/1 mismatches
  [1] 20 - 17 == 3
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 5510 SKIPPED: 0 FAILED: 28
  1. Failure: calculateAllT (@test-calculateAllT.r#70) 
  2. Failure: calculateAllT (@test-calculateAllT.r#74) 
  3. Failure: calculateAllT (@test-calculateAllT.r#78) 
  4. Failure: calculateAllT (@test-calculateAllT.r#82) 
  5. Failure: calculateAllT (@test-calculateAllT.r#88) 
  6. Failure: calculateAllT (@test-calculateAllT.r#92) 
  7. Failure: calculateAllT (@test-calculateAllT.r#96) 
  8. Failure: calculateAllT (@test-calculateAllT.r#100) 
  9. Failure: calculateAllT (@test-calculateAllT.r#106) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted