Running 'testthat.R' [76s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > # Generate snapshots only on Windows to avoid having to generate snapshot variant
  > # corresponding to each OS (#312).
  > #
  > # This is especially important for Bayesian models where the results can be different
  > # across OS, and there is no way to specify a threshold when it comes to snapshots
  > # since the values included are of character type.
  > if (tolower(Sys.info()[["sysname"]]) == "windows") {
  +   library(testthat)
  + 
  +   test_check("report")
  + }
  Loading required package: report
  Saving _problems/test-issue-481-glmmtmb-duplication-140.R
  We selected `contrast=c("Species")`.
  Saving _problems/test-report.ivreg-13.R
  Saving _problems/test-report.lm-31.R
  Saving _problems/test-report.survreg-10.R
  Saving _problems/test-report_info_misc_text-4.R
  Saving _problems/test-report_intercept-43.R
  Saving _problems/test-report_performance-11.R
  Saving _problems/test-report_performance-25.R
  Saving _problems/test-report_performance-44.R
  Saving _problems/test-report_performance-82.R
  Saving _problems/test-report_performance-123.R
  Saving _problems/test-report_stats_params-4.R
  Saving _problems/test-report_stats_params-70.R
  Saving _problems/test-report_table-55.R
  [ FAIL 14 | WARN 0 | SKIP 45 | PASS 421 ]
  
  ══ Skipped tests (45) ══════════════════════════════════════════════════════════
  • On CRAN (44): 'test-coverage-MixMod.R:4:1', 'test-coverage-brmsfit.R:5:1',
    'test-coverage-compare-loo.R:5:1', 'test-coverage-glmmTMB.R:4:1',
    'test-report.BFBayesFactor.R:2:1', 'test-report.MixMod.R:6:3',
    'test-report.aov.R:1:1', 'test-report.brmsfit.R:1:1',
    'test-report.compare.loo.R:6:3', 'test-report.data.frame.R:33:1',
    'test-report.data.frame.R:57:1', 'test-report.data.frame.R:82:1',
    'test-report.data.frame.R:93:1', 'test-report.glmmTMB.R:4:3',
    'test-report.htest-chi2.R:1:1', 'test-report.htest-chi2.R:99:1',
    'test-report.htest-correlation.R:1:1', 'test-report.htest-fisher.R:1:1',
    'test-report.htest-friedman.R:1:1', 'test-report.htest-kruskal.R:1:1',
    'test-report.htest-t-test.R:1:1', 'test-report.htest-wilcox.R:2:1',
    'test-report.lavaan.R:2:1', 'test-report.lm.R:40:1', 'test-report.lme.R:2:1',
    'test-report.lmer.R:2:1', 'test-report.stanreg.R:2:1',
    'test-report_participants.R:42:1', 'test-report_participants.R:122:1',
    'test-report_participants.R:150:1', 'test-report_participants.R:161:1',
    'test-report_s.R:1:1', 'test-report_sample.R:58:1',
    'test-report_sample.R:73:1', 'test-report_sample.R:93:1',
    'test-report_sample.R:128:1', 'test-report_sample.R:143:1',
    'test-report_sample.R:170:1', 'test-report_sample.R:185:1',
    'test-report_sample.R:200:1', 'test-report_sample.R:227:1',
    'test-report_sample.R:242:1', 'test-report_sample.R:257:1',
    'test-report_sample.R:284:1'
  • Skipping because of a .01 decimal difference in snapshots (1):
    'test-report.lm.R:6:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-issue-481-glmmtmb-duplication.R:140:3'): no redundant CI information concatenation in report_info.lm ──
  Error in `attr(out, paste0(names(attributes(effsize)$ci))) <- attributes(effsize)$ci`: 'name' must be a scalar string
  Backtrace:
      ▆
   1. ├─report::report_table(model, include_effectsize = TRUE) at test-issue-481-glmmtmb-duplication.R:140:3
   2. └─report:::report_table.lm(model, include_effectsize = TRUE)
  ── Error ('test-report.ivreg.R:13:3'): report-survreg ──────────────────────────
  Error in `attr(out, paste0(names(attributes(effsize)$ci))) <- attributes(effsize)$ci`: 'name' must be a scalar string
  Backtrace:
      ▆
   1. ├─report::report(ivr)
   2. └─report:::report.ivreg(ivr)
   3.   ├─report::report_table(...)
   4.   └─report:::report_table.ivreg(...)
  ── Error ('test-report.lm.R:28:3'): report.lm - glm ────────────────────────────
  Error in `attr(out, paste0(names(attributes(effsize)$ci))) <- attributes(effsize)$ci`: 'name' must be a scalar string
  Backtrace:
      ▆
   1. ├─report::report(glm(vs ~ disp, data = mtcars, family = binomial(link = "probit")))
   2. └─report:::report.glm(glm(vs ~ disp, data = mtcars, family = binomial(link = "probit")))
   3.   ├─report::report_table(...)
   4.   └─report:::report_table.glm(...)
  ── Error ('test-report.survreg.R:10:3'): report-survreg ────────────────────────
  Error in `attr(out, paste0(names(attributes(effsize)$ci))) <- attributes(effsize)$ci`: 'name' must be a scalar string
  Backtrace:
      ▆
   1. ├─report::report(mod_survreg)
   2. └─report:::report.survreg(mod_survreg)
   3.   ├─report::report_table(...)
   4.   └─report:::report_table.survreg(...)
  ── Error ('test-report_info_misc_text.R:4:3'): report_info() works for linear models ──
  Error in `attr(out, paste0(names(attributes(effsize)$ci))) <- attributes(effsize)$ci`: 'name' must be a scalar string
  Backtrace:
      ▆
   1. ├─report::report_info(model) at test-report_info_misc_text.R:4:3
   2. └─report:::report_info.lm(model)
   3.   ├─report::report_parameters(x, ...)
   4.   └─report:::report_parameters.lm(x, ...)
   5.     ├─report::report_statistics(...)
   6.     └─report:::report_statistics.lm(...)
   7.       ├─report::report_table(x, ...)
   8.       └─report:::report_table.lm(x, ...)
  ── Error ('test-report_intercept.R:40:3'): reflevel ────────────────────────────
  Error in `attr(out, paste0(names(attributes(effsize)$ci))) <- attributes(effsize)$ci`: 'name' must be a scalar string
  Backtrace:
      ▆
   1. ├─testthat::expect_identical(...) at test-report_intercept.R:40:3
   2. │ └─testthat::quasi_label(enquo(object), label)
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. ├─report::report_intercept(m1)
   5. └─report:::report_intercept.lm(m1)
   6.   ├─report::report_table(x, ...)
   7.   └─report:::report_table.lm(x, ...)
  ── Error ('test-report_performance.R:5:3'): report_performance Linear) ─────────
  Error in `attr(out, paste0(names(attributes(effsize)$ci))) <- attributes(effsize)$ci`: 'name' must be a scalar string
  Backtrace:
      ▆
   1. ├─testthat::expect_identical(...) at test-report_performance.R:5:3
   2. │ └─testthat::quasi_label(enquo(object), label)
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. ├─report::report_performance(x1)
   5. └─report:::report_performance.lm(x1)
   6.   ├─report::report_table(x, ...)
   7.   └─report:::report_table.lm(x, ...)
  ── Error ('test-report_performance.R:22:3'): report_performance GLM) ───────────
  Error in `attr(out, paste0(names(attributes(effsize)$ci))) <- attributes(effsize)$ci`: 'name' must be a scalar string
  Backtrace:
      ▆
   1. ├─testthat::expect_identical(...) at test-report_performance.R:22:3
   2. │ └─testthat::quasi_label(enquo(object), label)
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. ├─report::report_performance(x2)
   5. └─report:::report_performance.glm(x2)
   6.   ├─report::report_table(x, ...)
   7.   └─report:::report_table.glm(x, ...)
  ── Error ('test-report_performance.R:38:3'): report_performance Mixed models) ──
  Error in `attr(out, paste0(names(attributes(effsize)$ci))) <- attributes(effsize)$ci`: 'name' must be a scalar string
  Backtrace:
      ▆
   1. ├─testthat::expect_identical(...) at test-report_performance.R:38:3
   2. │ └─testthat::quasi_label(enquo(object), label)
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. ├─report::report_performance(x3)
   5. └─report:::report_performance.merMod(x3)
   6.   ├─report::report_table(x, ...)
   7.   └─report:::report_table.merMod(x, ...)
  ── Error ('test-report_performance.R:79:3'): report_performance Bayesian) ──────
  Error in `attr(out, paste0(names(attributes(effsize)$ci))) <- attributes(effsize)$ci`: 'name' must be a scalar string
  Backtrace:
      ▆
   1. ├─report::report_performance(x5)
   2. └─report:::report_performance.stanreg(x5)
   3.   ├─report::report_table(x, ...)
   4.   └─report:::report_table.stanreg(x, ...)
  ── Error ('test-report_performance.R:120:3'): report_performance Bayesian 2) ───
  Error in `attr(out, paste0(names(attributes(effsize)$ci))) <- attributes(effsize)$ci`: 'name' must be a scalar string
  Backtrace:
      ▆
   1. ├─base::summary(report_performance(x7))
   2. ├─report::report_performance(x7)
   3. └─report:::report_performance.stanreg(x7)
   4.   ├─report::report_table(x, ...)
   5.   └─report:::report_table.stanreg(x, ...)
  ── Error ('test-report_stats_params.R:4:3'): report_statistics() works with linear models ──
  Error in `attr(out, paste0(names(attributes(effsize)$ci))) <- attributes(effsize)$ci`: 'name' must be a scalar string
  Backtrace:
      ▆
   1. ├─report::report_statistics(model) at test-report_stats_params.R:4:3
   2. └─report:::report_statistics.lm(model)
   3.   ├─report::report_table(x, ...)
   4.   └─report:::report_table.lm(x, ...)
  ── Error ('test-report_stats_params.R:70:3'): report_parameters() works with linear models ──
  Error in `attr(out, paste0(names(attributes(effsize)$ci))) <- attributes(effsize)$ci`: 'name' must be a scalar string
  Backtrace:
      ▆
   1. ├─report::report_parameters(model) at test-report_stats_params.R:70:3
   2. └─report:::report_parameters.lm(model)
   3.   ├─report::report_statistics(...)
   4.   └─report:::report_statistics.lm(...)
   5.     ├─report::report_table(x, ...)
   6.     └─report:::report_table.lm(x, ...)
  ── Error ('test-report_table.R:55:3'): report_table() works with linear models ──
  Error in `attr(out, paste0(names(attributes(effsize)$ci))) <- attributes(effsize)$ci`: 'name' must be a scalar string
  Backtrace:
      ▆
   1. ├─report::report_table(model1) at test-report_table.R:55:3
   2. └─report:::report_table.lm(model1)
  
  [ FAIL 14 | WARN 0 | SKIP 45 | PASS 421 ]
  Error:
  ! Test failures.
  Execution halted