Running ‘spelling.R’ [0s/1s]
  Running ‘testthat.R’ [82s/122s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(broom.helpers)
  
  Attaching package: 'broom.helpers'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  > 
  > test_check("broom.helpers")
  `label = list(age ~ "Age, years")`
  `statistic = list(all_continuous() ~ "{mean} ({sd})")`
  `type = list(c(response, death) ~ "categorical")`
  `label = list(age ~ "Age, years")`
  `statistic = list(all_continuous() ~ "{mean} ({sd})")`
  `type = list(c(response, death) ~ "categorical")`
  `labels = list(age ~ "Age, years", response ~ "Tumor Response")`
  
   iter imp variable
    1   1  age  marker  response
    1   2  age  marker  response
    2   1  age  marker  response
    2   2  age  marker  response
  Stratified Independent Sampling design (with replacement)
  dpbc <- survey::svydesign(id = ~ 1, prob = ~ 1, strata = ~ edema, data = survival::pbc)
  ══ Warnings ════════════════════════════════════════════════════════════════════
  ── Warning (test-tidy_plus_plus.R:283:3): tidy_plus_plus() works with MASS::glm.nb ──
  Tidiers for objects of class negbin are not maintained by the broom team, and are only supported through the glmlm tidier method. Please be cautious in interpreting and reporting broom output.
  Backtrace:
    1. testthat::expect_error(res <- mod %>% tidy_plus_plus(), NA) test-tidy_plus_plus.R:283:2
   13. broom.helpers::tidy_and_attach(...)
   26. broom:::tidy.glm(model, exponentiate = exponentiate, ...)
   27. broom:::warn_on_subclass(x)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-tidy_plus_plus.R:170:3): tidy_plus_plus() works with lme4::glmer.nb ──
  Error: pwrssUpdate did not converge in (maxit) iterations
  Backtrace:
      █
   1. └─lme4::glmer.nb(y ~ f1 * f2 + (1 | g), data = dd) test-tidy_plus_plus.R:170:2
   2.   └─lme4:::optTheta(...)
   3.     └─stats::optimize(NBfun, interval = interval, tol = tol)
   4.       └─(function (arg) ...
   5.         └─lme4:::f(arg, ...)
   6.           └─lme4:::f_refitNB(lastfit, theta = exp(t), control = control)
  
  [ FAIL 1 | WARN 1 | SKIP 0 | PASS 364 ]
  Error: Test failures
  Execution halted