Running ‘testthat.R’ [170s/170s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(precrec)
  > 
  > test_check("precrec")
  1. Failure: xlim (@test_g_part.R#69) -------------------------------------------
  error$message does not match "not equal to 2L".
  Actual value: "length(xlim) == 2L is not TRUE"
  
  
  2. Failure: xlim (@test_g_part.R#70) -------------------------------------------
  error$message does not match "numeric or integer".
  Actual value: "is.vector(xlim) && is.numeric(xlim) is not TRUE"
  
  
  3. Failure: xlim (@test_g_part.R#71) -------------------------------------------
  error$message does not match "not less than".
  Actual value: "xlim[1] < xlim[2] is not TRUE"
  
  
  4. Failure: xlim (@test_g_part.R#72) -------------------------------------------
  error$message does not match "greater than or equal".
  Actual value: "xlim[1] >= 0 && xlim[1] <= 1 is not TRUE"
  
  
  5. Failure: xlim (@test_g_part.R#73) -------------------------------------------
  error$message does not match "less than or equal".
  Actual value: "xlim[2] >= 0 && xlim[2] <= 1 is not TRUE"
  
  
  6. Failure: ylim (@test_g_part.R#84) -------------------------------------------
  error$message does not match "not equal to 2L".
  Actual value: "length(ylim) == 2L is not TRUE"
  
  
  7. Failure: ylim (@test_g_part.R#85) -------------------------------------------
  error$message does not match "numeric or integer".
  Actual value: "is.vector(ylim) && is.numeric(ylim) is not TRUE"
  
  
  8. Failure: ylim (@test_g_part.R#86) -------------------------------------------
  error$message does not match "not less than".
  Actual value: "ylim[1] < ylim[2] is not TRUE"
  
  
  9. Failure: ylim (@test_g_part.R#87) -------------------------------------------
  error$message does not match "greater than or equal".
  Actual value: "ylim[1] >= 0 && ylim[1] <= 1 is not TRUE"
  
  
  10. Failure: ylim (@test_g_part.R#88) ------------------------------------------
  error$message does not match "less than or equal".
  Actual value: "ylim[2] >= 0 && ylim[2] <= 1 is not TRUE"
  
  
  11. Failure: Length of 'scores' must be >=1 (@test_mm3_1_reformat_data_scores.R#50) 
  error$message does not match "not greater than 0L".
  Actual value: "length(scores) > 0L is not TRUE"
  
  
  12. Failure: 'score_cols' should be valid column names (@test_mm4_1_format_nfold.R#51) 
  error$message does not match "score_cols is not a numeric or integer vector".
  Actual value: "is.numeric(score_cols) || is.character(score_cols) is not TRUE"
  
  
  13. Failure: 'score_cols' should be valid column names (@test_mm4_1_format_nfold.R#52) 
  error$message does not match "score_cols is not a numeric or integer vector".
  Actual value: "is.numeric(score_cols) || is.character(score_cols) is not TRUE"
  
  
  14. Failure: 'lab_col' should be a valid column name (@test_mm4_1_format_nfold.R#73) 
  error$message does not match "lab_col is not a number".
  Actual value: "assertthat::see_if(assertthat::is.number(lab_col)) || assertthat::see_if(assertthat::is.string(lab_col)) is not TRUE"
  
  
  15. Failure: 'lab_col' should be a valid column name (@test_mm4_1_format_nfold.R#74) 
  error$message does not match "lab_col is not a number".
  Actual value: "assertthat::see_if(assertthat::is.number(lab_col)) || assertthat::see_if(assertthat::is.string(lab_col)) is not TRUE"
  
  
  16. Failure: 'lab_col' should be a valid column name (@test_mm4_1_format_nfold.R#75) 
  error$message does not match "lab_col is not a number".
  Actual value: "assertthat::see_if(assertthat::is.number(lab_col)) || assertthat::see_if(assertthat::is.string(lab_col)) is not TRUE"
  
  
  17. Failure: 'lab_col' should be a valid column name (@test_mm4_1_format_nfold.R#76) 
  error$message does not match "lab_col is not a number".
  Actual value: "assertthat::see_if(assertthat::is.number(lab_col)) || assertthat::see_if(assertthat::is.string(lab_col)) is not TRUE"
  
  
  18. Failure: 'lab_col' should be a valid column name (@test_mm4_1_format_nfold.R#77) 
  error$message does not match "lab_col is not a number".
  Actual value: "assertthat::see_if(assertthat::is.number(lab_col)) || assertthat::see_if(assertthat::is.string(lab_col)) is not TRUE"
  
  
  19. Failure: 'lab_col' should be a valid column name (@test_mm4_1_format_nfold.R#78) 
  error$message does not match "lab_col is not a number".
  Actual value: "assertthat::see_if(assertthat::is.number(lab_col)) || assertthat::see_if(assertthat::is.string(lab_col)) is not TRUE"
  
  
  20. Failure: 'fold_col' should be a valid column name (@test_mm4_1_format_nfold.R#93) 
  error$message does not match "fold_col is not a number".
  Actual value: "assertthat::see_if(assertthat::is.number(fold_col)) || assertthat::see_if(assertthat::is.string(fold_col)) is not TRUE"
  
  
  21. Failure: 'fold_col' should be a valid column name (@test_mm4_1_format_nfold.R#94) 
  error$message does not match "fold_col is not a number".
  Actual value: "assertthat::see_if(assertthat::is.number(fold_col)) || assertthat::see_if(assertthat::is.string(fold_col)) is not TRUE"
  
  
  22. Failure: 'fold_col' should be a valid column name (@test_mm4_1_format_nfold.R#95) 
  error$message does not match "fold_col is not a number".
  Actual value: "assertthat::see_if(assertthat::is.number(fold_col)) || assertthat::see_if(assertthat::is.string(fold_col)) is not TRUE"
  
  
  23. Failure: 'fold_col' should be a valid column name (@test_mm4_1_format_nfold.R#96) 
  error$message does not match "fold_col is not a number".
  Actual value: "assertthat::see_if(assertthat::is.number(fold_col)) || assertthat::see_if(assertthat::is.string(fold_col)) is not TRUE"
  
  
  24. Failure: 'fold_col' should be a valid column name (@test_mm4_1_format_nfold.R#97) 
  error$message does not match "fold_col is not a number".
  Actual value: "assertthat::see_if(assertthat::is.number(fold_col)) || assertthat::see_if(assertthat::is.string(fold_col)) is not TRUE"
  
  
  25. Failure: 'fold_col' should be a valid column name (@test_mm4_1_format_nfold.R#98) 
  error$message does not match "fold_col is not a number".
  Actual value: "assertthat::see_if(assertthat::is.number(fold_col)) || assertthat::see_if(assertthat::is.string(fold_col)) is not TRUE"
  
  
  26. Failure: .pl_main_rocprc() accepts 'x_bins' (@test_pl2_1_pl_main_rocprc.R#70) 
  error$message does not match "x_bins%%1 not equal to 0".
  Actual value: "x_bins%%1 == 0 is not TRUE"
  
  
  27. Failure: .pl_main_rocprc() accepts 'x_bins' (@test_pl2_1_pl_main_rocprc.R#71) 
  error$message does not match "x_bins%%1 not equal to 0".
  Actual value: "x_bins%%1 == 0 is not TRUE"
  
  
  28. Failure: .pl_main_rocprc() accepts 'x_bins' (@test_pl2_1_pl_main_rocprc.R#74) 
  error$message does not match "x_bins not greater than or equal to 1L".
  Actual value: "x_bins >= 1L is not TRUE"
  
  
  testthat results ================================================================
  OK: 2385 SKIPPED: 0 FAILED: 28
  1. Failure: xlim (@test_g_part.R#69) 
  2. Failure: xlim (@test_g_part.R#70) 
  3. Failure: xlim (@test_g_part.R#71) 
  4. Failure: xlim (@test_g_part.R#72) 
  5. Failure: xlim (@test_g_part.R#73) 
  6. Failure: ylim (@test_g_part.R#84) 
  7. Failure: ylim (@test_g_part.R#85) 
  8. Failure: ylim (@test_g_part.R#86) 
  9. Failure: ylim (@test_g_part.R#87) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted