Running ‘test-all.R’ [44s/106s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
  > Sys.setenv("R_TESTS" = "")
  > library(testthat)
  > test_check("broom.mixed")
  Loading required package: broom.mixed
  GAMLSS-RS iteration 1: Global Deviance = 4771.925 
  GAMLSS-CG iteration 1: Global Deviance = 4771.013 
  GAMLSS-CG iteration 2: Global Deviance = 4770.994 
  GAMLSS-CG iteration 3: Global Deviance = 4770.994 
  new prediction 
  New way of prediction in pb()  (starting from GAMLSS version 5.0-3) 
  [ FAIL 8 | WARN 15 | SKIP 1 | PASS 181 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-alltibbles.R:60:13): (code run outside of `test_that()`) ────────
  Error in `.Call("MakeDoubleFunObject", data, parameters, reportenv, PACKAGE = DLL)`: Incorrect number of arguments (3), expecting 4 for 'MakeDoubleFunObject'
  Backtrace:
       ▆
    1. └─broom.mixed testf("augment", z) at test-alltibbles.R:60:12
    2.   ├─testthat::expect_is(get(fn_str)(obj), "tbl_df") at test-alltibbles.R:54:20
    3.   │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    4.   │   └─rlang::eval_bare(expr, quo_get_env(quo))
    5.   ├─get(fn_str)(obj)
    6.   └─broom.mixed:::augment.glmmTMB(obj)
    7.     └─broom::augment_columns(x, data, newdata, ...)
    8.       ├─base::do.call(stats::fitted, args)
    9.       ├─stats `<fn>`(`<glmmTMB>`, se.fit = TRUE)
   10.       └─glmmTMB:::fitted.glmmTMB(`<glmmTMB>`, se.fit = TRUE)
   11.         ├─stats::predict(object, type = "response", fast = TRUE)
   12.         └─glmmTMB:::predict.glmmTMB(object, type = "response", fast = TRUE)
   13.           └─newObj$report(lp)
   14.             └─TMB f(par, order = 0, type = "double")
   15.               └─TMB retape(set.defaults = FALSE)
  ── Error (test-glmmTMB.R:12:5): components included for zi models ──────────────
  Error in `.Call("MakeDoubleFunObject", data, parameters, reportenv, PACKAGE = DLL)`: Incorrect number of arguments (3), expecting 4 for 'MakeDoubleFunObject'
  Backtrace:
       ▆
    1. ├─generics::tidy(zipm3) at test-glmmTMB.R:12:4
    2. └─broom.mixed:::tidy.glmmTMB(zipm3)
    3.   ├─stats::coef(summary(x))
    4.   ├─base::summary(x)
    5.   └─glmmTMB:::summary.glmmTMB(x)
    6.     ├─nlme::VarCorr(object)
    7.     └─glmmTMB:::VarCorr.glmmTMB(object)
    8.       └─x$obj$env$report(x$fit$parfull)
    9.         └─TMB f(par, order = 0, type = "double")
   10.           └─TMB retape(set.defaults = FALSE)
  ── Error (test-glmmTMB.R:23:9): tidy respects components argument ──────────────
  Error in `.Call("MakeDoubleFunObject", data, parameters, reportenv, PACKAGE = DLL)`: Incorrect number of arguments (3), expecting 4 for 'MakeDoubleFunObject'
  Backtrace:
       ▆
    1. ├─generics::tidy(zipm3, component = "cond", effects = "fixed") at test-glmmTMB.R:23:8
    2. └─broom.mixed:::tidy.glmmTMB(zipm3, component = "cond", effects = "fixed")
    3.   ├─stats::coef(summary(x))
    4.   ├─base::summary(x)
    5.   └─glmmTMB:::summary.glmmTMB(x)
    6.     ├─nlme::VarCorr(object)
    7.     └─glmmTMB:::VarCorr.glmmTMB(object)
    8.       └─x$obj$env$report(x$fit$parfull)
    9.         └─TMB f(par, order = 0, type = "double")
   10.           └─TMB retape(set.defaults = FALSE)
  ── Error (test-glmmTMB.R:45:7): tidy respects conf.level ───────────────────────
  Error in `.Call("MakeDoubleFunObject", data, parameters, reportenv, PACKAGE = DLL)`: Incorrect number of arguments (3), expecting 4 for 'MakeDoubleFunObject'
  Backtrace:
       ▆
    1. ├─testthat::expect_equal(tmpf(), -2.088147, tolerance = 1e-04) at test-glmmTMB.R:45:6
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─broom.mixed tmpf()
    5.   ├─generics::tidy(zipm3, conf.int = TRUE, conf.level = cl) at test-glmmTMB.R:43:10
    6.   └─broom.mixed:::tidy.glmmTMB(zipm3, conf.int = TRUE, conf.level = cl)
    7.     ├─stats::coef(summary(x))
    8.     ├─base::summary(x)
    9.     └─glmmTMB:::summary.glmmTMB(x)
   10.       ├─nlme::VarCorr(object)
   11.       └─glmmTMB:::VarCorr.glmmTMB(object)
   12.         └─x$obj$env$report(x$fit$parfull)
   13.           └─TMB f(par, order = 0, type = "double")
   14.             └─TMB retape(set.defaults = FALSE)
  ── Error (test-glmmTMB.R:50:7): empty components are OK ────────────────────────
  Error in `.Call("MakeDoubleFunObject", data, parameters, reportenv, PACKAGE = DLL)`: Incorrect number of arguments (3), expecting 4 for 'MakeDoubleFunObject'
  Backtrace:
       ▆
    1. ├─testthat::expect_equal(...) at test-glmmTMB.R:50:6
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─generics::tidy(zipm3, effects = "ran_pars", component = "zi")
    5. └─broom.mixed:::tidy.glmmTMB(zipm3, effects = "ran_pars", component = "zi")
    6.   ├─stats::coef(summary(x))
    7.   ├─base::summary(x)
    8.   └─glmmTMB:::summary.glmmTMB(x)
    9.     ├─nlme::VarCorr(object)
   10.     └─glmmTMB:::VarCorr.glmmTMB(object)
   11.       └─x$obj$env$report(x$fit$parfull)
   12.         └─TMB f(par, order = 0, type = "double")
   13.           └─TMB retape(set.defaults = FALSE)
  ── Error (test-glmmTMB.R:55:7): ran_pars works ─────────────────────────────────
  Error in `.Call("MakeDoubleFunObject", data, parameters, reportenv, PACKAGE = DLL)`: Incorrect number of arguments (3), expecting 4 for 'MakeDoubleFunObject'
  Backtrace:
       ▆
    1. ├─testthat::expect_equal(...) at test-glmmTMB.R:55:6
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─generics::tidy(zipm3, effects = "ran_pars", component = "zi")
    5. └─broom.mixed:::tidy.glmmTMB(zipm3, effects = "ran_pars", component = "zi")
    6.   ├─stats::coef(summary(x))
    7.   ├─base::summary(x)
    8.   └─glmmTMB:::summary.glmmTMB(x)
    9.     ├─nlme::VarCorr(object)
   10.     └─glmmTMB:::VarCorr.glmmTMB(object)
   11.       └─x$obj$env$report(x$fit$parfull)
   12.         └─TMB f(par, order = 0, type = "double")
   13.           └─TMB retape(set.defaults = FALSE)
  ── Error (test-glmmTMB.R:61:7): ran_vals works ─────────────────────────────────
  Error in `.Call("MakeDoubleFunObject", data, parameters, reportenv, PACKAGE = DLL)`: Incorrect number of arguments (3), expecting 4 for 'MakeDoubleFunObject'
  Backtrace:
       ▆
    1. ├─testthat::expect_equal(...) at test-glmmTMB.R:61:6
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─generics::tidy(glmm1, effects = "ran_vals")
    5. └─broom.mixed:::tidy.glmmTMB(glmm1, effects = "ran_vals")
    6.   ├─stats::coef(summary(x))
    7.   ├─base::summary(x)
    8.   └─glmmTMB:::summary.glmmTMB(x)
    9.     ├─nlme::VarCorr(object)
   10.     └─glmmTMB:::VarCorr.glmmTMB(object)
   11.       └─x$obj$env$report(x$fit$parfull)
   12.         └─TMB f(par, order = 0, type = "double")
   13.           └─TMB retape(set.defaults = FALSE)
  ── Error (test-glmmTMB.R:65:7): profile tidying works ──────────────────────────
  Error in `.Call("MakeDoubleFunObject", data, parameters, reportenv, PACKAGE = DLL)`: Incorrect number of arguments (3), expecting 4 for 'MakeDoubleFunObject'
  Backtrace:
       ▆
    1. ├─generics::tidy(glmm1, effects = "fixed", conf.int = TRUE, conf.method = "profile") at test-glmmTMB.R:65:6
    2. └─broom.mixed:::tidy.glmmTMB(...)
    3.   ├─stats::coef(summary(x))
    4.   ├─base::summary(x)
    5.   └─glmmTMB:::summary.glmmTMB(x)
    6.     ├─nlme::VarCorr(object)
    7.     └─glmmTMB:::VarCorr.glmmTMB(object)
    8.       └─x$obj$env$report(x$fit$parfull)
    9.         └─TMB f(par, order = 0, type = "double")
   10.           └─TMB retape(set.defaults = FALSE)
  
  [ FAIL 8 | WARN 15 | SKIP 1 | PASS 181 ]
  Error: Test failures
  Execution halted