Running ‘testthat.R’ [73s/117s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(jtools)
  > 
  > 
  > test_check("jtools")
  [ FAIL 13 | WARN 0 | SKIP 36 | PASS 220 ]
  
  ══ Skipped tests (36) ══════════════════════════════════════════════════════════
  • On CRAN (36): 'test-effect-plot.R:26:3', 'test-effect-plot.R:39:3',
    'test-effect-plot.R:45:3', 'test-effect-plot.R:55:3',
    'test-effect-plot.R:66:3', 'test-effect-plot.R:76:3',
    'test-effect-plot.R:107:5', 'test-effect-plot.R:139:5',
    'test-effect-plot.R:186:3', 'test-effect-plot.R:191:3',
    'test-effect-plot.R:197:3', 'test-effect-plot.R:204:3',
    'test-effect-plot.R:213:3', 'test-effect-plot.R:226:3',
    'test-effect-plot.R:235:3', 'test-effect-plot.R:272:5',
    'test-effect-plot.R:280:5', 'test-effect-plot.R:288:5',
    'test-effect-plot.R:312:5', 'test-export-summs.R:177:3',
    'test-export-summs.R:182:3', 'test-export-summs.R:187:3',
    'test-export-summs.R:192:3', 'test-export-summs.R:198:3',
    'test-export-summs.R:204:5', 'test-export-summs.R:209:5',
    'test-export-summs.R:228:3', 'test-export-summs.R:233:3',
    'test-export-summs.R:239:3', 'test-export-summs.R:246:3',
    'test-export-summs.R:252:3', 'test-export-summs.R:257:3',
    'test-export-summs.R:262:3', 'test-export-summs.R:267:3',
    'test-export-summs.R:278:3', 'test-export-summs.R:299:5'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-export-summs.R:117:5'): Export doesn't fail with merMod ────────
  Error in `tcrossprod(sc * Li)`: "tcrossprod" is not a BUILTIN function
  Backtrace:
       ▆
    1. ├─testthat::expect_is(export_summs(mv), "huxtable") at test-export-summs.R:117:4
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─jtools::export_summs(mv)
    5.   ├─base::do.call("summs", as.list(c(list(mods), dots)))
    6.   └─jtools:::summs(`<list>`)
    7.     ├─base::do.call(getS3method("summ", method_stub), args = all_args)
    8.     └─jtools (local) `<fn>`(`<lmerMod>`)
    9.       ├─base::summary(model)
   10.       └─lme4:::summary.merMod(model)
   11.         ├─nlme::VarCorr(object)
   12.         └─lme4:::VarCorr.merMod(object)
   13.           ├─base::structure(...)
   14.           └─lme4::mkVarCorr(...)
   15.             └─base::lapply(...)
   16.               └─lme4 (local) FUN(X[[i]], ...)
  ── Error ('test-export-summs.R:121:5'): Export accepts summ args with merMod ───
  Error in `tcrossprod(sc * Li)`: "tcrossprod" is not a BUILTIN function
  Backtrace:
       ▆
    1. ├─testthat::expect_is(export_summs(mv, scale = T), "huxtable") at test-export-summs.R:121:4
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─jtools::export_summs(mv, scale = T)
    5.   ├─base::do.call("summs", as.list(c(list(mods), dots)))
    6.   └─jtools:::summs(`<named list>`, scale = TRUE)
    7.     ├─base::do.call(getS3method("summ", method_stub), args = all_args)
    8.     └─jtools (local) `<fn>`(`<lmerMod>`, scale = TRUE)
    9.       ├─base::summary(model)
   10.       └─lme4:::summary.merMod(model)
   11.         ├─nlme::VarCorr(object)
   12.         └─lme4:::VarCorr.merMod(object)
   13.           ├─base::structure(...)
   14.           └─lme4::mkVarCorr(...)
   15.             └─base::lapply(...)
   16.               └─lme4 (local) FUN(X[[i]], ...)
  ── Error ('test-export-summs.R:126:5'): Export accepts huxreg args with merMod ──
  Error in `tcrossprod(sc * Li)`: "tcrossprod" is not a BUILTIN function
  Backtrace:
       ▆
    1. ├─testthat::expect_is(export_summs(mv, align = ","), "huxtable") at test-export-summs.R:126:4
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─jtools::export_summs(mv, align = ",")
    5.   ├─base::do.call("summs", as.list(c(list(mods), dots)))
    6.   └─jtools:::summs(`<named list>`, align = ",")
    7.     ├─base::do.call(getS3method("summ", method_stub), args = all_args)
    8.     └─jtools (local) `<fn>`(`<lmerMod>`)
    9.       ├─base::summary(model)
   10.       └─lme4:::summary.merMod(model)
   11.         ├─nlme::VarCorr(object)
   12.         └─lme4:::VarCorr.merMod(object)
   13.           ├─base::structure(...)
   14.           └─lme4::mkVarCorr(...)
   15.             └─base::lapply(...)
   16.               └─lme4 (local) FUN(X[[i]], ...)
  ── Error ('test-export-summs.R:131:5'): Export accepts huxreg and summ args with merMod ──
  Error in `tcrossprod(sc * Li)`: "tcrossprod" is not a BUILTIN function
  Backtrace:
       ▆
    1. ├─testthat::expect_is(...) at test-export-summs.R:131:4
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─jtools::export_summs(mv, align = ",", scale = T)
    5.   ├─base::do.call("summs", as.list(c(list(mods), dots)))
    6.   └─jtools:::summs(`<named list>`, align = ",", scale = TRUE)
    7.     ├─base::do.call(getS3method("summ", method_stub), args = all_args)
    8.     └─jtools (local) `<fn>`(`<lmerMod>`, scale = TRUE)
    9.       ├─base::summary(model)
   10.       └─lme4:::summary.merMod(model)
   11.         ├─nlme::VarCorr(object)
   12.         └─lme4:::VarCorr.merMod(object)
   13.           ├─base::structure(...)
   14.           └─lme4::mkVarCorr(...)
   15.             └─base::lapply(...)
   16.               └─lme4 (local) FUN(X[[i]], ...)
  ── Error ('test-export-summs.R:136:5'): Export can do confidence intervals (merMod) ──
  Error in `tcrossprod(sc * Li)`: "tcrossprod" is not a BUILTIN function
  Backtrace:
       ▆
    1. ├─testthat::expect_is(...) at test-export-summs.R:136:4
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─jtools::export_summs(mv, error_format = "95% CI [{conf.low}, {conf.high}]")
    5.   ├─base::do.call("summs", as.list(c(list(mods), dots)))
    6.   └─jtools:::summs(`<list>`)
    7.     ├─base::do.call(getS3method("summ", method_stub), args = all_args)
    8.     └─jtools (local) `<fn>`(`<lmerMod>`)
    9.       ├─base::summary(model)
   10.       └─lme4:::summary.merMod(model)
   11.         ├─nlme::VarCorr(object)
   12.         └─lme4:::VarCorr.merMod(object)
   13.           ├─base::structure(...)
   14.           └─lme4::mkVarCorr(...)
   15.             └─base::lapply(...)
   16.               └─lme4 (local) FUN(X[[i]], ...)
  ── Error ('test-export-summs.R:215:5'): plot_summs works with lmer ─────────────
  Error in `tcrossprod(sc * Li)`: "tcrossprod" is not a BUILTIN function
  Backtrace:
       ▆
    1. └─jtools::plot_summs(mv) at test-export-summs.R:215:4
    2.   ├─base::do.call("summs", as.list(c(list(models = mods), ex_args)))
    3.   └─jtools:::summs(models = `<list>`, confint = TRUE, ci.width = 0.95)
    4.     ├─base::do.call(getS3method("summ", method_stub), args = all_args)
    5.     └─jtools (local) `<fn>`(`<lmerMod>`, confint = TRUE, ci.width = 0.95)
    6.       ├─base::summary(model)
    7.       └─lme4:::summary.merMod(model)
    8.         ├─nlme::VarCorr(object)
    9.         └─lme4:::VarCorr.merMod(object)
   10.           ├─base::structure(...)
   11.           └─lme4::mkVarCorr(...)
   12.             └─base::lapply(...)
   13.               └─lme4 (local) FUN(X[[i]], ...)
  ── Error ('test-export-summs.R:220:5'): plot_summs accepts summ args with lmer ──
  Error in `tcrossprod(sc * Li)`: "tcrossprod" is not a BUILTIN function
  Backtrace:
       ▆
    1. └─jtools::plot_summs(mv, scale = T) at test-export-summs.R:220:4
    2.   ├─base::do.call("summs", as.list(c(list(models = mods), ex_args)))
    3.   └─jtools:::summs(...)
    4.     ├─base::do.call(getS3method("summ", method_stub), args = all_args)
    5.     └─jtools (local) `<fn>`(`<lmerMod>`, scale = TRUE, confint = TRUE, ci.width = 0.95)
    6.       ├─base::summary(model)
    7.       └─lme4:::summary.merMod(model)
    8.         ├─nlme::VarCorr(object)
    9.         └─lme4:::VarCorr.merMod(object)
   10.           ├─base::structure(...)
   11.           └─lme4::mkVarCorr(...)
   12.             └─base::lapply(...)
   13.               └─lme4 (local) FUN(X[[i]], ...)
  ── Error ('test-jsumm.R:108:5'): summ: knit_print works ────────────────────────
  Error in `tcrossprod(sc * Li)`: "tcrossprod" is not a BUILTIN function
  Backtrace:
       ▆
    1. ├─testthat::expect_is(...) at test-jsumm.R:108:4
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─jtools:::knit_print.summ.merMod(summ(mv))
    5. ├─jtools::summ(mv)
    6. └─jtools:::summ.merMod(mv)
    7.   ├─base::summary(model)
    8.   └─lme4:::summary.merMod(model)
    9.     ├─nlme::VarCorr(object)
   10.     └─lme4:::VarCorr.merMod(object)
   11.       ├─base::structure(...)
   12.       └─lme4::mkVarCorr(...)
   13.         └─base::lapply(...)
   14.           └─lme4 (local) FUN(X[[i]], ...)
  ── Error ('test-jsumm.R:175:5'): jsumm: merMod CIs work ────────────────────────
  Error in `tcrossprod(sc * Li)`: "tcrossprod" is not a BUILTIN function
  Backtrace:
       ▆
    1. ├─testthat::expect_is(s <- summ(mv, confint = TRUE), "summ.merMod") at test-jsumm.R:175:4
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─jtools::summ(mv, confint = TRUE)
    5. └─jtools:::summ.merMod(mv, confint = TRUE)
    6.   ├─base::summary(model)
    7.   └─lme4:::summary.merMod(model)
    8.     ├─nlme::VarCorr(object)
    9.     └─lme4:::VarCorr.merMod(object)
   10.       ├─base::structure(...)
   11.       └─lme4::mkVarCorr(...)
   12.         └─base::lapply(...)
   13.           └─lme4 (local) FUN(X[[i]], ...)
  ── Error ('test-jsumm.R:182:5'): jsumm: merMod dropping pvals works ────────────
  Error in `tcrossprod(sc * Li)`: "tcrossprod" is not a BUILTIN function
  Backtrace:
       ▆
    1. ├─testthat::expect_is(s <- summ(mv, pvals = FALSE), "summ.merMod") at test-jsumm.R:182:4
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─jtools::summ(mv, pvals = FALSE)
    5. └─jtools:::summ.merMod(mv, pvals = FALSE)
    6.   ├─base::summary(model)
    7.   └─lme4:::summary.merMod(model)
    8.     ├─nlme::VarCorr(object)
    9.     └─lme4:::VarCorr.merMod(object)
   10.       ├─base::structure(...)
   11.       └─lme4::mkVarCorr(...)
   12.         └─base::lapply(...)
   13.           └─lme4 (local) FUN(X[[i]], ...)
  ── Error ('test-jsumm.R:189:5'): summ: all merMod p-value calculation options work ──
  Error in `tcrossprod(sc * Li)`: "tcrossprod" is not a BUILTIN function
  Backtrace:
       ▆
    1. ├─testthat::expect_is(s <- summ(mv, t.df = "s"), "summ.merMod") at test-jsumm.R:189:4
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─jtools::summ(mv, t.df = "s")
    5. └─jtools:::summ.merMod(mv, t.df = "s")
    6.   ├─base::summary(model)
    7.   └─lme4:::summary.merMod(model)
    8.     ├─nlme::VarCorr(object)
    9.     └─lme4:::VarCorr.merMod(object)
   10.       ├─base::structure(...)
   11.       └─lme4::mkVarCorr(...)
   12.         └─base::lapply(...)
   13.           └─lme4 (local) FUN(X[[i]], ...)
  ── Error ('test-jsumm.R:200:5'): jsumm and merMod objects: everything works ────
  Error in `tcrossprod(sc * Li)`: "tcrossprod" is not a BUILTIN function
  Backtrace:
       ▆
    1. ├─testthat::expect_is(...) at test-jsumm.R:200:4
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─base::suppressWarnings(summ(mv, center = TRUE, n.sd = 2, pvals = FALSE))
    5. │ └─base::withCallingHandlers(...)
    6. ├─jtools::summ(mv, center = TRUE, n.sd = 2, pvals = FALSE)
    7. └─jtools:::summ.merMod(mv, center = TRUE, n.sd = 2, pvals = FALSE)
    8.   ├─base::summary(model)
    9.   └─lme4:::summary.merMod(model)
   10.     ├─nlme::VarCorr(object)
   11.     └─lme4:::VarCorr.merMod(object)
   12.       ├─base::structure(...)
   13.       └─lme4::mkVarCorr(...)
   14.         └─base::lapply(...)
   15.           └─lme4 (local) FUN(X[[i]], ...)
  ── Error ('test-jsumm.R:288:5'): jsumm: Printing isn't borked ──────────────────
  Error in `tcrossprod(sc * Li)`: "tcrossprod" is not a BUILTIN function
  Backtrace:
       ▆
    1. ├─testthat::expect_output(...) at test-jsumm.R:288:4
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─testthat::capture_output_lines(code, print, width = width)
    5. │   │   └─testthat:::eval_with_output(code, print = print, width = width)
    6. │   │     ├─withr::with_output_sink(path, withVisible(code))
    7. │   │     │ └─base::force(code)
    8. │   │     └─base::withVisible(code)
    9. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   10. ├─base::print(summ(mv, scale = TRUE, n.sd = 2, pvals = FALSE))
   11. ├─jtools::summ(mv, scale = TRUE, n.sd = 2, pvals = FALSE)
   12. └─jtools:::summ.merMod(mv, scale = TRUE, n.sd = 2, pvals = FALSE)
   13.   ├─base::summary(model)
   14.   └─lme4:::summary.merMod(model)
   15.     ├─nlme::VarCorr(object)
   16.     └─lme4:::VarCorr.merMod(object)
   17.       ├─base::structure(...)
   18.       └─lme4::mkVarCorr(...)
   19.         └─base::lapply(...)
   20.           └─lme4 (local) FUN(X[[i]], ...)
  
  [ FAIL 13 | WARN 0 | SKIP 36 | PASS 220 ]
  Deleting unused snapshots:
  • effect-plot/brm-multiv-selected-int.svg
  • effect-plot/brm-multiv-selected-sigma-int.svg
  • effect-plot/glm-cat-bar-offset-no-int.svg
  • effect-plot/glm-cat-line-offset-no-int.svg
  • effect-plot/glm-cat-offset-partials.svg
  • effect-plot/glm-cat-offset-points.svg
  • effect-plot/glmer-offset.svg
  • effect-plot/glmer.svg
  • effect-plot/lm-all-centered-apa.svg
  • effect-plot/lm-one-centered.svg
  • effect-plot/lm-partials-all-centered.svg
  • effect-plot/lm-points-all-centered.svg
  • effect-plot/lm-rug-sides-lb.svg
  • effect-plot/lmer-partials.svg
  • effect-plot/lmer-points.svg
  • effect-plot/svyglm-all-centered-partials.svg
  • effect-plot/svyglm-all-centered-points.svg
  • effect-plot/svyglm-binomial.svg
  • effect-plot/svyglm-one-centered.svg
  • effect-plot/wlm-one-centered-robust-partials.svg
  • effect-plot/wlm-one-centered-robust-points.svg
  • effect-plot/wlm-one-centered-robust.svg
  • effect-plot/wlm-one-centered.svg
  • export-summs/lm3-linesize2-inner-ci-msg.svg
  • export-summs/lm3-linesize2-inner-ci.svg
  • export-summs/lmer-summ-arg.svg
  • export-summs/lmer.svg
  • export-summs/pc-brmmv-sigma-select-dv.svg
  • export-summs/pc-brmmv-sigma.svg
  • export-summs/pc-brmmv.svg
  • export-summs/pc-brmmv2-multidist-select-dv.svg
  • export-summs/pc-glm1-dists-exp.svg
  • export-summs/pc-glm1-dists.svg
  • export-summs/pc-lm1-dists-scale.svg
  • export-summs/pc-lm2-dists-inner-ci-scale.svg
  • export-summs/pc-lm2-dists-inner-ci.svg
  • export-summs/pc-lm2-dists.svg
  Error: Test failures
  Execution halted