Running ‘testthat.R’ [92s/90s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(prcbench)
  > 
  > test_check("prcbench")
  1. Failure: create_usrdata: bench - scores (@test_data_userd.R#17) -------------
  error$message does not match "not greater than 1".
  Actual value: "length(scores) > 1 is not TRUE"
  
  
  2. Failure: create_usrdata: bench - labels (@test_data_userd.R#22) -------------
  error$message does not match "labels is not a numeric".
  Actual value: "is.numeric(labels) || is.factor(labels) is not TRUE"
  
  
  3. Failure: create_usrdata: bench - labels (@test_data_userd.R#25) -------------
  error$message does not match "not greater than 1".
  Actual value: "length(labels) > 1 is not TRUE"
  
  
  4. Failure: create_usrdata: bench - labels (@test_data_userd.R#28) -------------
  error$message does not match "not equal to 2".
  Actual value: "length(unique(labels)) == 2 is not TRUE"
  
  
  5. Failure: create_usrdata: bench - scores and labels (@test_data_userd.R#42) --
  error$message does not match "not equal to length".
  Actual value: "length(scores) == length(labels) is not TRUE"
  
  
  6. Failure: create_usrdata: curve - scores (@test_data_userd.R#70) -------------
  error$message does not match "not greater than 1".
  Actual value: "length(scores) > 1 is not TRUE"
  
  
  7. Failure: create_usrdata: curve - labels (@test_data_userd.R#75) -------------
  error$message does not match "labels is not a numeric".
  Actual value: "is.numeric(labels) || is.factor(labels) is not TRUE"
  
  
  8. Failure: create_usrdata: curve - labels (@test_data_userd.R#78) -------------
  error$message does not match "not greater than 1".
  Actual value: "length(labels) > 1 is not TRUE"
  
  
  9. Failure: create_usrdata: curve - labels (@test_data_userd.R#81) -------------
  error$message does not match "not equal to 2".
  Actual value: "length(unique(labels)) == 2 is not TRUE"
  
  
  10. Failure: create_usrdata: curve - scores and labels (@test_data_userd.R#95) -
  error$message does not match "not equal to length".
  Actual value: "length(scores) == length(labels) is not TRUE"
  
  
  11. Failure: create_usrdata: curve - base points (@test_data_userd.R#123) ------
  error$message does not match "not equal to length".
  Actual value: "length(base_x) == length(base_y) is not TRUE"
  
  
  12. Failure: create_usrdata: curve - base_x (@test_data_userd.R#133) -----------
  error$message does not match "base_x <= 1 are not true".
  Actual value: "all(base_x >= 0) && all(base_x <= 1) is not TRUE"
  
  
  13. Failure: create_usrdata: curve - base_x (@test_data_userd.R#137) -----------
  error$message does not match "base_x >= 0 are not true".
  Actual value: "all(base_x >= 0) && all(base_x <= 1) is not TRUE"
  
  
  14. Failure: create_usrdata: curve - base_y (@test_data_userd.R#147) -----------
  error$message does not match "base_y <= 1 are not true".
  Actual value: "all(base_y >= 0) && all(base_y <= 1) is not TRUE"
  
  
  15. Failure: create_usrdata: curve - base_y (@test_data_userd.R#151) -----------
  error$message does not match "base_y >= 0 are not true".
  Actual value: "all(base_y >= 0) && all(base_y <= 1) is not TRUE"
  
  
  16. Failure: run_benchmark: testset (@test_main_benchmark.R#58) ----------------
  error$message does not match "not greater than 0".
  Actual value: "length(testset) > 0 is not TRUE"
  
  
  17. Failure: run_benchmark: testset (@test_main_benchmark.R#61) ----------------
  error$message does not match "not greater than 0".
  Actual value: "length(testset) > 0 is not TRUE"
  
  
  18. Failure: run_benchmark: toolset (@test_main_benchmark.R#84) ----------------
  error$message does not match "not greater than 0".
  Actual value: "length(toolset) > 0 is not TRUE"
  
  
  19. Failure: run_benchmark: toolset (@test_main_benchmark.R#87) ----------------
  error$message does not match "not greater than 0".
  Actual value: "length(toolset) > 0 is not TRUE"
  
  
  20. Failure: run_benchmark: times (@test_main_benchmark.R#131) -----------------
  error$message does not match "times not greater than 0".
  Actual value: "times > 0 is not TRUE"
  
  
  21. Failure: run_benchmark: times (@test_main_benchmark.R#134) -----------------
  error$message does not match "times not greater than 0".
  Actual value: "times > 0 is not TRUE"
  
  
  22. Failure: run_evalcurve: testset (@test_main_evalcurves.R#25) ---------------
  error$message does not match "not greater than 0".
  Actual value: "length(testset) > 0 is not TRUE"
  
  
  23. Failure: run_evalcurve: toolset (@test_main_evalcurves.R#39) ---------------
  error$message does not match "not greater than 0".
  Actual value: "length(toolset) > 0 is not TRUE"
  
  
  24. Failure: autoplot.evalcurve ncol & nrow (@test_plot_autoplot.R#74) ---------
  error$message does not match "nrow not greater than 0".
  Actual value: "nrow > 0 is not TRUE"
  
  
  25. Failure: autoplot.evalcurve ncol & nrow (@test_plot_autoplot.R#77) ---------
  error$message does not match "ncol not greater than 0".
  Actual value: "ncol > 0 is not TRUE"
  
  
  testthat results ================================================================
  OK: 730 SKIPPED: 0 FAILED: 25
  1. Failure: create_usrdata: bench - scores (@test_data_userd.R#17) 
  2. Failure: create_usrdata: bench - labels (@test_data_userd.R#22) 
  3. Failure: create_usrdata: bench - labels (@test_data_userd.R#25) 
  4. Failure: create_usrdata: bench - labels (@test_data_userd.R#28) 
  5. Failure: create_usrdata: bench - scores and labels (@test_data_userd.R#42) 
  6. Failure: create_usrdata: curve - scores (@test_data_userd.R#70) 
  7. Failure: create_usrdata: curve - labels (@test_data_userd.R#75) 
  8. Failure: create_usrdata: curve - labels (@test_data_userd.R#78) 
  9. Failure: create_usrdata: curve - labels (@test_data_userd.R#81) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted