Running ‘testthat.R’ [271s/277s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(precrec)
  > 
  > test_check("precrec")
  ── 1. Failure: format_nfold() correctly converts M2N50F5 (@test_mm4_1_format_nfo
  llabel[[1]] not equal to as.integer(dat1$label).
  'current' is not a factor
  
  ── 2. Failure: format_nfold() correctly converts M2N50F5 (@test_mm4_1_format_nfo
  llabel[[2]] not equal to as.integer(dat2$label).
  'current' is not a factor
  
  ── 3. Failure: format_nfold() correctly converts M2N50F5 (@test_mm4_1_format_nfo
  llabel[[3]] not equal to as.integer(dat3$label).
  'current' is not a factor
  
  ── 4. Failure: format_nfold() correctly converts M2N50F5 (@test_mm4_1_format_nfo
  llabel[[4]] not equal to as.integer(dat4$label).
  'current' is not a factor
  
  ── 5. Failure: format_nfold() correctly converts M2N50F5 (@test_mm4_1_format_nfo
  llabel[[5]] not equal to as.integer(dat5$label).
  'current' is not a factor
  
  ── 6. Failure: format_nfold() correctly converts M2N50F5 (@test_mm4_1_format_nfo
  llabel[[6]] not equal to as.integer(dat1$label).
  'current' is not a factor
  
  ── 7. Failure: format_nfold() correctly converts M2N50F5 (@test_mm4_1_format_nfo
  llabel[[7]] not equal to as.integer(dat2$label).
  'current' is not a factor
  
  ── 8. Failure: format_nfold() correctly converts M2N50F5 (@test_mm4_1_format_nfo
  llabel[[8]] not equal to as.integer(dat3$label).
  'current' is not a factor
  
  ── 9. Failure: format_nfold() correctly converts M2N50F5 (@test_mm4_1_format_nfo
  llabel[[9]] not equal to as.integer(dat4$label).
  'current' is not a factor
  
  ── 10. Failure: format_nfold() correctly converts M2N50F5 (@test_mm4_1_format_nf
  llabel[[10]] not equal to as.integer(dat5$label).
  'current' is not a factor
  
  ── 11. Failure: format_nfold() correctly converts M2N50F5 (@test_mm4_1_format_nf
  llabel[[1]] not equal to as.integer(dat1$label).
  'current' is not a factor
  
  ── 12. Failure: format_nfold() correctly converts M2N50F5 (@test_mm4_1_format_nf
  llabel[[2]] not equal to as.integer(dat2$label).
  'current' is not a factor
  
  ── 13. Failure: format_nfold() correctly converts M2N50F5 (@test_mm4_1_format_nf
  llabel[[3]] not equal to as.integer(dat3$label).
  'current' is not a factor
  
  ── 14. Failure: format_nfold() correctly converts M2N50F5 (@test_mm4_1_format_nf
  llabel[[4]] not equal to as.integer(dat4$label).
  'current' is not a factor
  
  ── 15. Failure: format_nfold() correctly converts M2N50F5 (@test_mm4_1_format_nf
  llabel[[5]] not equal to as.integer(dat5$label).
  'current' is not a factor
  
  ── 16. Failure: format_nfold() correctly converts M2N50F5 (@test_mm4_1_format_nf
  llabel[[6]] not equal to as.integer(dat1$label).
  'current' is not a factor
  
  ── 17. Failure: format_nfold() correctly converts M2N50F5 (@test_mm4_1_format_nf
  llabel[[7]] not equal to as.integer(dat2$label).
  'current' is not a factor
  
  ── 18. Failure: format_nfold() correctly converts M2N50F5 (@test_mm4_1_format_nf
  llabel[[8]] not equal to as.integer(dat3$label).
  'current' is not a factor
  
  ── 19. Failure: format_nfold() correctly converts M2N50F5 (@test_mm4_1_format_nf
  llabel[[9]] not equal to as.integer(dat4$label).
  'current' is not a factor
  
  ── 20. Failure: format_nfold() correctly converts M2N50F5 (@test_mm4_1_format_nf
  llabel[[10]] not equal to as.integer(dat5$label).
  'current' is not a factor
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 2472 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 20 ]
  1. Failure: format_nfold() correctly converts M2N50F5 (@test_mm4_1_format_nfold.R#145) 
  2. Failure: format_nfold() correctly converts M2N50F5 (@test_mm4_1_format_nfold.R#145) 
  3. Failure: format_nfold() correctly converts M2N50F5 (@test_mm4_1_format_nfold.R#145) 
  4. Failure: format_nfold() correctly converts M2N50F5 (@test_mm4_1_format_nfold.R#145) 
  5. Failure: format_nfold() correctly converts M2N50F5 (@test_mm4_1_format_nfold.R#145) 
  6. Failure: format_nfold() correctly converts M2N50F5 (@test_mm4_1_format_nfold.R#145) 
  7. Failure: format_nfold() correctly converts M2N50F5 (@test_mm4_1_format_nfold.R#145) 
  8. Failure: format_nfold() correctly converts M2N50F5 (@test_mm4_1_format_nfold.R#145) 
  9. Failure: format_nfold() correctly converts M2N50F5 (@test_mm4_1_format_nfold.R#145) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted