Running 'run-all.R' [7s/8s]
Running the tests in 'tests/run-all.R' failed.
Complete output:
  > library('testthat')
  > library('sortinghat')
  > 
  > test_package('sortinghat')
  -- 1. Failure: Error rate works correctly on the Iris data set using MASS:::lda 
  `first_error` not equal to `expected_estimate`.
  1/1 mismatches
  [1] 0.0231 - 0.0219 == 0.00115
  
  -- 2. Failure: Error rate works correctly on the Iris data set using MASS:::lda 
  `first_error` not equal to `expected_estimate`.
  1/1 mismatches
  [1] 0.0231 - 0.0219 == 0.00116
  
  -- 3. Failure: Error rate works correctly on the Iris data set using MASS:::lda 
  `error_rate` not equal to `expected_estimate`.
  1/1 mismatches
  [1] 0.0227 - 0.0221 == 0.000533
  
  -- 4. Failure: Error rate works correctly on the Iris data set using MASS:::lda 
  `error_rate` not equal to `expected_estimate`.
  1/1 mismatches
  [1] 0.018 - 0.0187 == -0.000667
  
  -- 5. Failure: Error rate works correctly on the Iris data set using MASS:::lda 
  `error_rate` not equal to `expected_estimate`.
  1/1 mismatches
  [1] 0.0207 - 0.0228 == -0.00213
  
  -- 6. Failure: Error rate works correctly on the Iris data set using MASS:::lda 
  `error_rate` not equal to `expected_estimate`.
  1/1 mismatches
  [1] 0.02 - 0.0267 == -0.00667
  
  -- 7. Failure: Error rate works correctly on the Iris data set using MASS:::lda 
  `error_rate` not equal to `expected_estimate`.
  1/1 mismatches
  [1] 0.0249 - 0.0231 == 0.00182
  
  == testthat results  ===========================================================
  OK: 44 SKIPPED: 0 FAILED: 7
  1. Failure: Error rate works correctly on the Iris data set using MASS:::lda (@test-errorest-632.r#45) 
  2. Failure: Error rate works correctly on the Iris data set using MASS:::lda (@test-errorest-632plus.r#45) 
  3. Failure: Error rate works correctly on the Iris data set using MASS:::lda (@test-errorest-bcv.r#23) 
  4. Failure: Error rate works correctly on the Iris data set using MASS:::lda (@test-errorest-bcv.r#34) 
  5. Failure: Error rate works correctly on the Iris data set using MASS:::lda (@test-errorest-boot.r#22) 
  6. Failure: Error rate works correctly on the Iris data set using MASS:::lda (@test-errorest-cv.r#22) 
  7. Failure: Error rate works correctly on the Iris data set using MASS:::lda (@test-errorest-loo-boot.r#22) 
  
  Error: testthat unit tests failed
  In addition: Warning message:
  Placing tests in `inst/tests` is deprecated. Please use `tests/testthat` instead 
  Execution halted