Running 'testthat.R' [13s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > test_check("plater")
  Loading required package: plater
  -- 1. Failure: add_plate works for complete valid data (@test-add_plate.R#15)  -
  `x` not identical to `expected`.
  'current' is not a factor
  
  -- 2. Failure: add_plate works with reversed file and data arguments but gives w
  `x` not identical to `expected`.
  'current' is not a factor
  
  -- 3. Failure: add_plate works without leading zeroes (@test-add_plate.R#37)  --
  `x` not identical to `expected`.
  Types not compatible: character is not integer
  
  -- 4. Failure: add_plate works without leading zeroes (@test-add_plate.R#39)  --
  `x` not identical to `expected`.
  'current' is not a factor
  
  -- 5. Failure: add_plate works for missing data from plate and no leading zeroes
  `x` not identical to `expected`.
  Types not compatible: character is not integer
  
  -- 6. Failure: add_plate works for complete valid data (@test-add_plate.R#15)  -
  `x` not identical to `expected`.
  'current' is not a factor
  
  -- 7. Failure: add_plate works with reversed file and data arguments but gives w
  `x` not identical to `expected`.
  'current' is not a factor
  
  -- 8. Failure: add_plate works without leading zeroes (@test-add_plate.R#37)  --
  `x` not identical to `expected`.
  Types not compatible: character is not integer
  
  -- 9. Failure: add_plate works without leading zeroes (@test-add_plate.R#39)  --
  `x` not identical to `expected`.
  'current' is not a factor
  
  -- 10. Failure: add_plate works for missing data from plate and no leading zeroe
  `x` not identical to `expected`.
  Types not compatible: character is not integer
  
  -- 11. Failure: add_plate works for complete valid data (@test-add_plate.R#15)  
  `x` not identical to `expected`.
  'current' is not a factor
  
  -- 12. Failure: add_plate works with reversed file and data arguments but gives 
  `x` not identical to `expected`.
  'current' is not a factor
  
  -- 13. Failure: add_plate works without leading zeroes (@test-add_plate.R#37)  -
  `x` not identical to `expected`.
  Types not compatible: character is not integer
  
  -- 14. Failure: add_plate works without leading zeroes (@test-add_plate.R#39)  -
  `x` not identical to `expected`.
  'current' is not a factor
  
  -- 15. Failure: add_plate works for missing data from plate and no leading zeroe
  `x` not identical to `expected`.
  Types not compatible: character is not integer
  
  -- 16. Failure: add_plate works for complete valid data (@test-add_plate.R#15)  
  `x` not identical to `expected`.
  'current' is not a factor
  
  -- 17. Failure: add_plate works with reversed file and data arguments but gives 
  `x` not identical to `expected`.
  'current' is not a factor
  
  -- 18. Failure: add_plate works without leading zeroes (@test-add_plate.R#37)  -
  `x` not identical to `expected`.
  Types not compatible: character is not integer
  
  -- 19. Failure: add_plate works without leading zeroes (@test-add_plate.R#39)  -
  `x` not identical to `expected`.
  'current' is not a factor
  
  -- 20. Failure: add_plate works for missing data from plate and no leading zeroe
  `x` not identical to `expected`.
  Types not compatible: character is not integer
  
  -- 21. Failure: add_plate works for complete valid data (@test-add_plate.R#15)  
  `x` not identical to `expected`.
  'current' is not a factor
  
  -- 22. Failure: add_plate works with reversed file and data arguments but gives 
  `x` not identical to `expected`.
  'current' is not a factor
  
  -- 23. Failure: add_plate works without leading zeroes (@test-add_plate.R#37)  -
  `x` not identical to `expected`.
  Types not compatible: character is not integer
  
  -- 24. Failure: add_plate works without leading zeroes (@test-add_plate.R#39)  -
  `x` not identical to `expected`.
  'current' is not a factor
  
  -- 25. Failure: add_plate works for missing data from plate and no leading zeroe
  `x` not identical to `expected`.
  Types not compatible: character is not integer
  
  -- 26. Failure: correct_leading_zeroes fixes one incorrect well (@test-view_plat
  `x` not identical to `expected`.
  Component "w": 'current' is not a factor
  
  -- 27. Failure: correct_leading_zeroes fixes one incorrect well (@test-view_plat
  `x` not identical to `expected`.
  Component "w": 'current' is not a factor
  
  -- 28. Failure: correct_leading_zeroes fixes one incorrect well (@test-view_plat
  `x` not identical to `expected`.
  Component "w": 'current' is not a factor
  
  -- 29. Failure: correct_leading_zeroes fixes one incorrect well (@test-view_plat
  `x` not identical to `expected`.
  Component "w": 'current' is not a factor
  
  -- 30. Failure: correct_leading_zeroes fixes one incorrect well (@test-view_plat
  `x` not identical to `expected`.
  Component "w": 'current' is not a factor
  
  == testthat results  ===========================================================
  [ OK: 715 | SKIPPED: 10 | WARNINGS: 95 | FAILED: 30 ]
  1. Failure: add_plate works for complete valid data (@test-add_plate.R#15) 
  2. Failure: add_plate works with reversed file and data arguments but gives warning (@test-add_plate.R#23) 
  3. Failure: add_plate works without leading zeroes (@test-add_plate.R#37) 
  4. Failure: add_plate works without leading zeroes (@test-add_plate.R#39) 
  5. Failure: add_plate works for missing data from plate and no leading zeroes (@test-add_plate.R#64) 
  6. Failure: add_plate works for complete valid data (@test-add_plate.R#15) 
  7. Failure: add_plate works with reversed file and data arguments but gives warning (@test-add_plate.R#23) 
  8. Failure: add_plate works without leading zeroes (@test-add_plate.R#37) 
  9. Failure: add_plate works without leading zeroes (@test-add_plate.R#39) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted