Running ‘test-all.R’ [25s/39s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
  > library(testthat)
  > test_check("broom")
  Loading required package: broom
  ── 1. Error: tidy.polr (@test-mass-polr.R#16)  ─────────────────────────────────
  replacement has 1 row, data has 0
  1: tidy(fit, quick = TRUE) at testthat/test-mass-polr.R:16
  2: tidy.polr(fit, quick = TRUE)
  3: process_polr(ret, x, conf.int = FALSE, exponentiate = exponentiate)
  4: `[<-`(`*tmp*`, ret$term %in% names(x$zeta), "coefficient_type", value = "zeta")
  5: `[<-.data.frame`(`*tmp*`, ret$term %in% names(x$zeta), "coefficient_type", value = "zeta")
  6: stop(sprintf(ngettext(N, "replacement has %d row, data has %d", "replacement has %d rows, data has %d"), 
         N, n), domain = NA)
  
  ── 2. Error: tidy.clm (@test-ordinal.R#20)  ────────────────────────────────────
  replacement has 1 row, data has 0
  1: tidy(fit, quick = TRUE) at testthat/test-ordinal.R:20
  2: tidy.clm(fit, quick = TRUE)
  3: process_clm(ret, x, conf.int = FALSE, exponentiate = exponentiate)
  4: `[<-`(`*tmp*`, ret$term %in% names(x$zeta), "coefficient_type", value = "zeta")
  5: `[<-.data.frame`(`*tmp*`, ret$term %in% names(x$zeta), "coefficient_type", value = "zeta")
  6: stop(sprintf(ngettext(N, "replacement has %d row, data has %d", "replacement has %d rows, data has %d"), 
         N, n), domain = NA)
  
  ── 3. Error: tidy.clmm (@test-ordinal.R#49)  ───────────────────────────────────
  replacement has 1 row, data has 0
  1: tidy(mfit, quick = TRUE) at testthat/test-ordinal.R:49
  2: tidy.clmm(mfit, quick = TRUE)
  3: tidy.clm(x, conf.int, conf.level, exponentiate, quick, ...)
  4: process_clm(ret, x, conf.int = FALSE, exponentiate = exponentiate)
  5: `[<-`(`*tmp*`, ret$term %in% names(x$zeta), "coefficient_type", value = "zeta")
  6: `[<-.data.frame`(`*tmp*`, ret$term %in% names(x$zeta), "coefficient_type", value = "zeta")
  7: stop(sprintf(ngettext(N, "replacement has %d row, data has %d", "replacement has %d rows, data has %d"), 
         N, n), domain = NA)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 903 SKIPPED: 2 FAILED: 3
  1. Error: tidy.polr (@test-mass-polr.R#16) 
  2. Error: tidy.clm (@test-ordinal.R#20) 
  3. Error: tidy.clmm (@test-ordinal.R#49) 
  
  Error: testthat unit tests failed
  Execution halted