Running 'testthat.R' [99s/106s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(mdatools)
  > 
  > test_check("mdatools")
  -- 1. Failure: performance plots works fine (@test-classmodel.R#83)  -----------
  `plotPerformance(m)` produced warnings.
  
  -- 2. Failure: performance plots works fine (@test-classmodel.R#84)  -----------
  `plotPerformance(m, type = "b")` produced warnings.
  
  -- 3. Failure: performance plots works fine (@test-classmodel.R#85)  -----------
  `plotSensitivity(m)` produced warnings.
  
  -- 4. Failure: performance plots works fine (@test-classmodel.R#86)  -----------
  `plotSpecificity(m)` produced warnings.
  
  -- 5. Failure: performance plots works fine (@test-classmodel.R#83)  -----------
  `plotPerformance(m)` produced warnings.
  
  -- 6. Failure: performance plots works fine (@test-classmodel.R#84)  -----------
  `plotPerformance(m, type = "b")` produced warnings.
  
  -- 7. Failure: performance plots works fine (@test-classmodel.R#85)  -----------
  `plotSensitivity(m)` produced warnings.
  
  -- 8. Failure: performance plots works fine (@test-classmodel.R#86)  -----------
  `plotSpecificity(m)` produced warnings.
  
  -- 9. Failure: performance plots works fine (@test-classmodel.R#83)  -----------
  `plotPerformance(m)` produced warnings.
  
  -- 10. Failure: performance plots works fine (@test-classmodel.R#84)  ----------
  `plotPerformance(m, type = "b")` produced warnings.
  
  -- 11. Failure: performance plots works fine (@test-classmodel.R#85)  ----------
  `plotSensitivity(m)` produced warnings.
  
  -- 12. Failure: performance plots works fine (@test-classmodel.R#86)  ----------
  `plotSpecificity(m)` produced warnings.
  
  -- 13. Failure: sensitivity plot works correctly (@test-classresplots.R#100)  --
  `plotSensitivity(res[[i]])` produced warnings.
  
  -- 14. Failure: sensitivity plot works correctly (@test-classresplots.R#101)  --
  `plotSensitivity(res[[i]], nc = nc)` produced warnings.
  
  -- 15. Failure: sensitivity plot works correctly (@test-classresplots.R#102)  --
  `plotSensitivity(res[[i]], nc = nc, type = "b")` produced warnings.
  
  -- 16. Failure: sensitivity plot works correctly (@test-classresplots.R#103)  --
  `plotSensitivity(res[[i]], nc = nc, type = "l", col = "red", lty = 2)` produced warnings.
  
  -- 17. Failure: specificity plot works correctly (@test-classresplots.R#115)  --
  `plotSpecificity(res[[i]])` produced warnings.
  
  -- 18. Failure: specificity plot works correctly (@test-classresplots.R#116)  --
  `plotSpecificity(res[[i]], nc = nc)` produced warnings.
  
  -- 19. Failure: specificity plot works correctly (@test-classresplots.R#117)  --
  `plotSpecificity(res[[i]], nc = nc, type = "b")` produced warnings.
  
  -- 20. Failure: specificity plot works correctly (@test-classresplots.R#118)  --
  `plotSpecificity(res[[i]], nc = nc, type = "l", col = "red", lty = 2)` produced warnings.
  
  -- 21. Failure: misclassified plot works correctly (@test-classresplots.R#130)  
  `plotMisclassified(res[[i]])` produced warnings.
  
  -- 22. Failure: misclassified plot works correctly (@test-classresplots.R#131)  
  `plotMisclassified(res[[i]], nc = nc)` produced warnings.
  
  -- 23. Failure: misclassified plot works correctly (@test-classresplots.R#132)  
  `plotMisclassified(res[[i]], nc = nc, type = "b")` produced warnings.
  
  -- 24. Failure: misclassified plot works correctly (@test-classresplots.R#133)  
  `plotMisclassified(...)` produced warnings.
  
  -- 25. Failure: sensitivity plot works correctly (@test-classresplots.R#100)  --
  `plotSensitivity(res[[i]])` produced warnings.
  
  -- 26. Failure: sensitivity plot works correctly (@test-classresplots.R#101)  --
  `plotSensitivity(res[[i]], nc = nc)` produced warnings.
  
  -- 27. Failure: sensitivity plot works correctly (@test-classresplots.R#102)  --
  `plotSensitivity(res[[i]], nc = nc, type = "b")` produced warnings.
  
  -- 28. Failure: sensitivity plot works correctly (@test-classresplots.R#103)  --
  `plotSensitivity(res[[i]], nc = nc, type = "l", col = "red", lty = 2)` produced warnings.
  
  -- 29. Failure: specificity plot works correctly (@test-classresplots.R#115)  --
  `plotSpecificity(res[[i]])` produced warnings.
  
  -- 30. Failure: specificity plot works correctly (@test-classresplots.R#116)  --
  `plotSpecificity(res[[i]], nc = nc)` produced warnings.
  
  -- 31. Failure: specificity plot works correctly (@test-classresplots.R#117)  --
  `plotSpecificity(res[[i]], nc = nc, type = "b")` produced warnings.
  
  -- 32. Failure: specificity plot works correctly (@test-classresplots.R#118)  --
  `plotSpecificity(res[[i]], nc = nc, type = "l", col = "red", lty = 2)` produced warnings.
  
  -- 33. Failure: misclassified plot works correctly (@test-classresplots.R#130)  
  `plotMisclassified(res[[i]])` produced warnings.
  
  -- 34. Failure: misclassified plot works correctly (@test-classresplots.R#131)  
  `plotMisclassified(res[[i]], nc = nc)` produced warnings.
  
  -- 35. Failure: misclassified plot works correctly (@test-classresplots.R#132)  
  `plotMisclassified(res[[i]], nc = nc, type = "b")` produced warnings.
  
  -- 36. Failure: misclassified plot works correctly (@test-classresplots.R#133)  
  `plotMisclassified(...)` produced warnings.
  
  -- 37. Failure: sensitivity plot works correctly (@test-classresplots.R#100)  --
  `plotSensitivity(res[[i]])` produced warnings.
  
  -- 38. Failure: sensitivity plot works correctly (@test-classresplots.R#101)  --
  `plotSensitivity(res[[i]], nc = nc)` produced warnings.
  
  -- 39. Failure: sensitivity plot works correctly (@test-classresplots.R#102)  --
  `plotSensitivity(res[[i]], nc = nc, type = "b")` produced warnings.
  
  -- 40. Failure: sensitivity plot works correctly (@test-classresplots.R#103)  --
  `plotSensitivity(res[[i]], nc = nc, type = "l", col = "red", lty = 2)` produced warnings.
  
  -- 41. Failure: specificity plot works correctly (@test-classresplots.R#115)  --
  `plotSpecificity(res[[i]])` produced warnings.
  
  -- 42. Failure: specificity plot works correctly (@test-classresplots.R#116)  --
  `plotSpecificity(res[[i]], nc = nc)` produced warnings.
  
  -- 43. Failure: specificity plot works correctly (@test-classresplots.R#117)  --
  `plotSpecificity(res[[i]], nc = nc, type = "b")` produced warnings.
  
  -- 44. Failure: specificity plot works correctly (@test-classresplots.R#118)  --
  `plotSpecificity(res[[i]], nc = nc, type = "l", col = "red", lty = 2)` produced warnings.
  
  -- 45. Failure: misclassified plot works correctly (@test-classresplots.R#130)  
  `plotMisclassified(res[[i]])` produced warnings.
  
  -- 46. Failure: misclassified plot works correctly (@test-classresplots.R#131)  
  `plotMisclassified(res[[i]], nc = nc)` produced warnings.
  
  -- 47. Failure: misclassified plot works correctly (@test-classresplots.R#132)  
  `plotMisclassified(res[[i]], nc = nc, type = "b")` produced warnings.
  
  -- 48. Failure: misclassified plot works correctly (@test-classresplots.R#133)  
  `plotMisclassified(...)` produced warnings.
  
  -- 49. Failure: sensitivity plot works correctly (@test-classresplots.R#100)  --
  `plotSensitivity(res[[i]])` produced warnings.
  
  -- 50. Failure: sensitivity plot works correctly (@test-classresplots.R#101)  --
  `plotSensitivity(res[[i]], nc = nc)` produced warnings.
  
  -- 51. Failure: sensitivity plot works correctly (@test-classresplots.R#102)  --
  `plotSensitivity(res[[i]], nc = nc, type = "b")` produced warnings.
  
  -- 52. Failure: sensitivity plot works correctly (@test-classresplots.R#103)  --
  `plotSensitivity(res[[i]], nc = nc, type = "l", col = "red", lty = 2)` produced warnings.
  
  -- 53. Failure: specificity plot works correctly (@test-classresplots.R#115)  --
  `plotSpecificity(res[[i]])` produced warnings.
  
  -- 54. Failure: specificity plot works correctly (@test-classresplots.R#116)  --
  `plotSpecificity(res[[i]], nc = nc)` produced warnings.
  
  -- 55. Failure: specificity plot works correctly (@test-classresplots.R#117)  --
  `plotSpecificity(res[[i]], nc = nc, type = "b")` produced warnings.
  
  -- 56. Failure: specificity plot works correctly (@test-classresplots.R#118)  --
  `plotSpecificity(res[[i]], nc = nc, type = "l", col = "red", lty = 2)` produced warnings.
  
  -- 57. Failure: misclassified plot works correctly (@test-classresplots.R#130)  
  `plotMisclassified(res[[i]])` produced warnings.
  
  -- 58. Failure: misclassified plot works correctly (@test-classresplots.R#131)  
  `plotMisclassified(res[[i]], nc = nc)` produced warnings.
  
  -- 59. Failure: misclassified plot works correctly (@test-classresplots.R#132)  
  `plotMisclassified(res[[i]], nc = nc, type = "b")` produced warnings.
  
  -- 60. Failure: misclassified plot works correctly (@test-classresplots.R#133)  
  `plotMisclassified(...)` produced warnings.
  
  -- 61. Failure: calibration and cross-validation works fine (@test-plsda.R#34)  
  `plot(m)` produced warnings.
  
  -- 62. Failure: calibration and cross-validation works fine (@test-plsda.R#79)  
  `plot(m)` produced warnings.
  
  -- 63. Failure: performance plot works correctly (@test-simcaplots.R#118)  -----
  `plotPerformance(m)` produced warnings.
  
  -- 64. Failure: performance plot works correctly (@test-simcaplots.R#119)  -----
  `plotPerformance(m, type = "h")` produced warnings.
  
  -- 65. Failure: performance plot works correctly (@test-simcaplots.R#121)  -----
  `plotSensitivity(m)` produced warnings.
  
  -- 66. Failure: performance plot works correctly (@test-simcaplots.R#175)  -----
  `plotSpecificity(res)` produced warnings.
  
  -- 67. Failure: performance plot works correctly (@test-simcaplots.R#176)  -----
  `plotSensitivity(res)` produced warnings.
  
  -- 68. Failure: performance plot works correctly (@test-simcaplots.R#118)  -----
  `plotPerformance(m)` produced warnings.
  
  -- 69. Failure: performance plot works correctly (@test-simcaplots.R#119)  -----
  `plotPerformance(m, type = "h")` produced warnings.
  
  -- 70. Failure: performance plot works correctly (@test-simcaplots.R#121)  -----
  `plotSensitivity(m)` produced warnings.
  
  -- 71. Failure: performance plot works correctly (@test-simcaplots.R#175)  -----
  `plotSpecificity(res)` produced warnings.
  
  -- 72. Failure: performance plot works correctly (@test-simcaplots.R#176)  -----
  `plotSensitivity(res)` produced warnings.
  
  -- 73. Failure: performance plot works correctly (@test-simcaplots.R#118)  -----
  `plotPerformance(m)` produced warnings.
  
  -- 74. Failure: performance plot works correctly (@test-simcaplots.R#119)  -----
  `plotPerformance(m, type = "h")` produced warnings.
  
  -- 75. Failure: performance plot works correctly (@test-simcaplots.R#121)  -----
  `plotSensitivity(m)` produced warnings.
  
  -- 76. Failure: performance plot works correctly (@test-simcaplots.R#175)  -----
  `plotSpecificity(res)` produced warnings.
  
  -- 77. Failure: performance plot works correctly (@test-simcaplots.R#176)  -----
  `plotSensitivity(res)` produced warnings.
  
  == testthat results  ===========================================================
  [ OK: 6763 | SKIPPED: 0 | WARNINGS: 12 | FAILED: 77 ]
  1. Failure: performance plots works fine (@test-classmodel.R#83) 
  2. Failure: performance plots works fine (@test-classmodel.R#84) 
  3. Failure: performance plots works fine (@test-classmodel.R#85) 
  4. Failure: performance plots works fine (@test-classmodel.R#86) 
  5. Failure: performance plots works fine (@test-classmodel.R#83) 
  6. Failure: performance plots works fine (@test-classmodel.R#84) 
  7. Failure: performance plots works fine (@test-classmodel.R#85) 
  8. Failure: performance plots works fine (@test-classmodel.R#86) 
  9. Failure: performance plots works fine (@test-classmodel.R#83) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted