Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(gvc)
  If you use gvc for data analysis,
  please cite both R and gvc,
  using citation() and citation("gvc") respectively.
                          
  > 
  > test_check("gvc")
  ── 1. Failure: output order matches (@test_e2r.R#30)  ──────────────────────────
  le2r[1, 1] not equal to factor(c("Argentina", "Turkey", "Germany"))[1].
  Types not compatible: character is not integer
  
  ── 2. Failure: output order matches (@test_e2r.R#31)  ──────────────────────────
  le2r[4, 1] not equal to factor(c("Argentina", "Turkey", "Germany"))[2].
  Types not compatible: character is not integer
  
  ── 3. Failure: output order matches (@test_e2r.R#32)  ──────────────────────────
  le2r[9, 1] not equal to factor(c("Argentina", "Turkey", "Germany"))[3].
  Types not compatible: character is not integer
  
  ── 4. Failure: output order matches (@test_i2e.R#30)  ──────────────────────────
  li2e[1, 1] not equal to factor(c("Argentina", "Turkey", "Germany"))[1].
  Types not compatible: character is not integer
  
  ── 5. Failure: output order matches (@test_i2e.R#31)  ──────────────────────────
  li2e[4, 1] not equal to factor(c("Argentina", "Turkey", "Germany"))[2].
  Types not compatible: character is not integer
  
  ── 6. Failure: output order matches (@test_i2e.R#32)  ──────────────────────────
  li2e[9, 1] not equal to factor(c("Argentina", "Turkey", "Germany"))[3].
  Types not compatible: character is not integer
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 12 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 6 ]
  1. Failure: output order matches (@test_e2r.R#30) 
  2. Failure: output order matches (@test_e2r.R#31) 
  3. Failure: output order matches (@test_e2r.R#32) 
  4. Failure: output order matches (@test_i2e.R#30) 
  5. Failure: output order matches (@test_i2e.R#31) 
  6. Failure: output order matches (@test_i2e.R#32) 
  
  Error: testthat unit tests failed
  Execution halted