Running ‘testthat.R’ [2s/5s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(elo)
  > 
  > test_check("elo")
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_elo.winpct.R:23:3): elo.winpct is working correctly ─────────────
  Error in `mtfrm.default(structure(c("Blundering Baboons", "Defense-less Dogs", 
  "Fabulous Frogs", "Helpless Hyenas", "Cunning Cats", "Defense-less Dogs", 
  "Gallivanting Gorillas", "Helpless Hyenas", "Defense-less Dogs", 
  "Cunning Cats", "Helpless Hyenas", "Gallivanting Gorillas", "Elegant Emus", 
  "Fabulous Frogs", "Gallivanting Gorillas", "Helpless Hyenas", 
  "Fabulous Frogs", "Elegant Emus", "Gallivanting Gorillas", "Helpless Hyenas", 
  "Elegant Emus", "Fabulous Frogs", "Helpless Hyenas", "Gallivanting Gorillas", 
  "Fabulous Frogs", "Elegant Emus", "Athletic Armadillos", "Cunning Cats", 
  "Elegant Emus", "Gallivanting Gorillas", "Athletic Armadillos", 
  "Blundering Baboons", "Fabulous Frogs", "Blundering Baboons", 
  "Athletic Armadillos", "Fabulous Frogs", "Elegant Emus", "Athletic Armadillos", 
  "Blundering Baboons", "Defense-less Dogs", "Blundering Baboons", 
  "Athletic Armadillos", "Cunning Cats", "Cunning Cats", "Defense-less Dogs", 
  "Athletic Armadillos", "Blundering Baboons", "Defense-less Dogs", 
  "Cunning Cats", "Blundering Baboons", "Athletic Armadillos", 
  "Zealous Zebras", "Zealous Zebras", "Zealous Zebras", "Zealous Zebras", 
  "Zealous Zebras", "Zealous Zebras", "Zealous Zebras", "Zealous Zebras", 
  "Zealous Zebras", "Zealous Zebras", "Zealous Zebras", "Zealous Zebras", 
  "Zealous Zebras", "Zealous Zebras", "Zealous Zebras", "Zealous Zebras", 
  "Zealous Zebras", "Zealous Zebras", "Zealous Zebras", "Zealous Zebras", 
  "Zealous Zebras", "Zealous Zebras", "Zealous Zebras", "Zealous Zebras", 
  "Zealous Zebras", "Zealous Zebras", "Zealous Zebras", "Zealous Zebras", 
  "Zealous Zebras", "Zealous Zebras", "Zealous Zebras", "Zealous Zebras", 
  "Zealous Zebras", "Zealous Zebras", "Zealous Zebras", "Zealous Zebras", 
  "Zealous Zebras", "Zealous Zebras", "Zealous Zebras", "Zealous Zebras", 
  "Zealous Zebras", "Zealous Zebras", "Zealous Zebras", "Zealous Zebras", 
  "Zealous Zebras", "Zealous Zebras", "Zealous Zebras", "Zealous Zebras", 
  "Zealous Zebras", "Zealous Zebras", "Zealous Zebras"), .Dim = c(51L, 
  2L), class = c("elo.players.matrix", "matrix", "array"), weights = c(0.5, 
  0.5)))`: cannot mtfrm
  Backtrace:
      █
   1. ├─elo::elo.winpct(...) test_elo.winpct.R:23:2
   2. │ └─elo:::check_elo_winpct_vars(mf)
   3. │   └─base::matrix(tmp[t1], nrow = nrow(t1))
   4. ├─base::mtfrm(...)
   5. └─base::mtfrm.default(...)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 184 ]
  Error: Test failures
  Execution halted