Running 'testthat.R' [3s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(genBaRcode)
  > 
  > test_check("genBaRcode")
  -- 1. Failure: helper functions - com_pair (@test_helper_functions.R#72)  ------
  test_dat$shared not equal to res$shared.
  Component "barcode": Modes: character, numeric
  Component "barcode": Attributes: < target is NULL, current is list >
  Component "barcode": target is character, current is factor
  Component "barcode": Modes: character, numeric
  Component "barcode": Attributes: < target is NULL, current is list >
  Component "barcode": target is character, current is factor
  
  -- 2. Failure: helper functions - com_pair (@test_helper_functions.R#73)  ------
  test_dat$unique_sample1 not equal to res$unique_sample1.
  Component "barcode": Modes: character, numeric
  Component "barcode": Attributes: < target is NULL, current is list >
  Component "barcode": target is character, current is factor
  
  -- 3. Failure: helper functions - com_pair (@test_helper_functions.R#74)  ------
  test_dat$unique_sample2 not equal to res$unique_sample2.
  Component "barcode": Modes: character, numeric
  Component "barcode": Attributes: < target is NULL, current is list >
  Component "barcode": target is character, current is factor
  
  -- 4. Error: (unknown) (@test_raw_data_functions.R#3)  -------------------------
  package 'S4Vectors' could not be loaded
  Backtrace:
   1. base::library(ShortRead)
   2. base::.getRequiredPackages2(pkgInfo, quietly = quietly)
   3. base::library(...)
   4. base::.getRequiredPackages2(pkgInfo, quietly = quietly)
  
  == testthat results  ===========================================================
  [ OK: 14 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 4 ]
  1. Failure: helper functions - com_pair (@test_helper_functions.R#72) 
  2. Failure: helper functions - com_pair (@test_helper_functions.R#73) 
  3. Failure: helper functions - com_pair (@test_helper_functions.R#74) 
  4. Error: (unknown) (@test_raw_data_functions.R#3) 
  
  Error: testthat unit tests failed
  Execution halted