Running 'testthat.R' [8s/9s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(glmmboot)
  > 
  > test_check("glmmboot")
  -- 1. Failure: testing bootstrap_ci (@test-bootstrap_ci.R#14)  -----------------
  class(bootstrap_ci(list_out$base_coef_se, list_out$resampled_coef_se)) not equal to "matrix".
  Lengths differ: 2 is not 1
  
  -- 2. Failure: bootstrap_model returns matrix when asked, lists when asked (@tes
  class(...) not equal to "matrix".
  Lengths differ: 2 is not 1
  
  -- 3. Error: bootstrap_model works on test_data (@test-bootstrap_model.R#39)  --
  object 'subj' not found
  Backtrace:
    1. base::suppressWarnings(...)
    3. glmmTMB::glmmTMB(formula = model_formula, data = test_data, family = binomial)
    4. glmmTMB:::mkTMBStruc(...)
    5. glmmTMB:::getXReTrms(formula, mf, fr, contrasts = contrasts)
    6. glmmTMB::splitForm(formula)
    7. glmmTMB:::fbx(formula, debug, specials)
    8. glmmTMB:::fbx(term[[3]], debug, specials)
    9. glmmTMB:::fbx(term[[3]], debug, specials)
   11. utils:::head.default(term)
   12. base::do.call(`[`, c(list(x), indvecs, if (!is.null(dim(x))) list(drop = FALSE)))
  
  -- 4. Error: bootstrap_model works on zero-inflated models (@test-bootstrap_mode
  object 'ft' not found
  Backtrace:
    1. glmmTMB::glmmTMB(...)
    2. glmmTMB:::mkTMBStruc(...)
    3. glmmTMB:::getXReTrms(formula, mf, fr, contrasts = contrasts)
    4. glmmTMB::splitForm(formula)
    5. glmmTMB:::fbx(formula, debug, specials)
    6. glmmTMB:::fbx(term[[3]], debug, specials)
    7. glmmTMB:::fbx(term[[2]], debug, specials)
    8. glmmTMB:::fbx(term[[2]], debug, specials)
    9. glmmTMB:::fbx(term[[2]], debug, specials)
   11. utils:::head.default(term)
   12. base::do.call(`[`, c(list(x), indvecs, if (!is.null(dim(x))) list(drop = FALSE)))
  
  == testthat results  ===========================================================
  [ OK: 47 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 4 ]
  1. Failure: testing bootstrap_ci (@test-bootstrap_ci.R#14) 
  2. Failure: bootstrap_model returns matrix when asked, lists when asked (@test-bootstrap_model.R#9) 
  3. Error: bootstrap_model works on test_data (@test-bootstrap_model.R#39) 
  4. Error: bootstrap_model works on zero-inflated models (@test-bootstrap_model.R#124) 
  
  Error: testthat unit tests failed
  Execution halted