Running 'testthat.R' [5s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(eiCompare)
  Loading required package: eiPack
  Loading required package: ei
  Loading required package: wru
  > 
  > test_check("eiCompare")
  -- 1. Failure: ei results table mungs results correctly (@test_ei_utility.R#28) 
  `output` not equal to `expected`.
  Component "Candidate": Modes: character, numeric
  Component "Candidate": Attributes: < target is NULL, current is list >
  Component "Candidate": target is character, current is factor
  
  -- 2. Failure: elect_algebra outputs correctly (@test_elect_algebra.R#22)  -----
  `output` not equal to `expected`.
  Component "Pct_White": Modes: character, numeric
  Component "Pct_White": Attributes: < target is NULL, current is list >
  Component "Pct_White": target is character, current is factor
  Component "Pct_NonWhite": Modes: character, numeric
  Component "Pct_NonWhite": Attributes: < target is NULL, current is list >
  Component "Pct_NonWhite": target is character, current is factor
  
  -- 3. Failure: Surname utility functions work correctly. (@test_surname_utils.R#
  `stripped_special_characters` not equal to `expected_stripped_voter_file`.
  Component "surname": Modes: character, numeric
  Component "surname": Attributes: < target is NULL, current is list >
  Component "surname": target is character, current is factor
  
  -- 4. Failure: Surname utility functions work correctly. (@test_surname_utils.R#
  `multi_barreled_surnames` not equal to `expected_multi_surnames`.
  Component "surname": Attributes: < Component "levels": Lengths (7, 4) differ (string compare on first 4) >
  Component "surname": Attributes: < Component "levels": 2 string mismatches >
  
  == testthat results  ===========================================================
  [ OK: 77 | SKIPPED: 0 | WARNINGS: 8 | FAILED: 4 ]
  1. Failure: ei results table mungs results correctly (@test_ei_utility.R#28) 
  2. Failure: elect_algebra outputs correctly (@test_elect_algebra.R#22) 
  3. Failure: Surname utility functions work correctly. (@test_surname_utils.R#57) 
  4. Failure: Surname utility functions work correctly. (@test_surname_utils.R#75) 
  
  Error: testthat unit tests failed
  Execution halted