Running 'testthat.R' [92s]
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
  We selected `contrast=c("Species")`.
  Saving _problems/test-report_participants-119.R
  Saving _problems/test-report_participants-142.R
  [ FAIL 2 | WARN 0 | SKIP 48 | PASS 449 ]
  
  ══ Skipped tests (48) ══════════════════════════════════════════════════════════
  • On CRAN (46): '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:61:1', 'test-report.data.frame.R:86:1',
    'test-report.data.frame.R:97:1', 'test-report.glmmTMB.R:4:3',
    'test-report.htest-chi2.R:1:1', 'test-report.htest-chi2.R:103: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.ivreg.R:3:1', 'test-report.lavaan.R:2:1',
    'test-report.lm.R:24: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.survreg.R:1:1', 'test-report_participants.R:158:1',
    'test-report_participants.R:169:1', 'test-report_performance.R:70:1',
    'test-report_s.R:1:1', 'test-report_sample.R:64:1',
    'test-report_sample.R:79:1', 'test-report_sample.R:99:1',
    'test-report_sample.R:159:1', 'test-report_sample.R:174:1',
    'test-report_sample.R:201:1', 'test-report_sample.R:216:1',
    'test-report_sample.R:231:1', 'test-report_sample.R:258:1',
    'test-report_sample.R:273:1', 'test-report_sample.R:294:1',
    'test-report_sample.R:321:1'
  • Skipping because of a .01 decimal difference in snapshots (2):
    'test-report.lm.R:6:3', 'test-report_performance.R:135:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-report_participants.R:116:3'): report_participants ─────────────
  Error in `as.data.frame.integer(x[[i]], optional = TRUE)`: row names contain missing values
  Backtrace:
       ▆
    1. └─report::report_participants(data4)
    2.   └─report:::.report_participants(...)
    3.     ├─base::as.data.frame(...)
    4.     ├─datawizard::data_tabulate(data[[country]])
    5.     └─datawizard:::data_tabulate.default(data[[country]])
    6.       ├─datawizard::data_rename(...)
    7.       │ └─base::is.data.frame(data)
    8.       └─base::data.frame(freq_table, stringsAsFactors = FALSE)
    9.         ├─base::as.data.frame(x[[i]], optional = TRUE)
   10.         └─base::as.data.frame.table(x[[i]], optional = TRUE)
   11.           ├─base::eval(ex)
   12.           │ └─base::eval(ex)
   13.           └─base::data.frame(...)
   14.             ├─base::as.data.frame(x[[i]], optional = TRUE)
   15.             └─base::as.data.frame.integer(x[[i]], optional = TRUE)
  ── Error ('test-report_participants.R:139:3'): report_participants test NAs no warning ──
  Error in `as.data.frame.integer(x[[i]], optional = TRUE)`: row names contain missing values
  Backtrace:
       ▆
    1. └─report::report_participants(data)
    2.   └─report:::.report_participants(...)
    3.     ├─base::as.data.frame(...)
    4.     ├─datawizard::data_tabulate(data[[country]])
    5.     └─datawizard:::data_tabulate.default(data[[country]])
    6.       ├─datawizard::data_rename(...)
    7.       │ └─base::is.data.frame(data)
    8.       └─base::data.frame(freq_table, stringsAsFactors = FALSE)
    9.         ├─base::as.data.frame(x[[i]], optional = TRUE)
   10.         └─base::as.data.frame.table(x[[i]], optional = TRUE)
   11.           ├─base::eval(ex)
   12.           │ └─base::eval(ex)
   13.           └─base::data.frame(...)
   14.             ├─base::as.data.frame(x[[i]], optional = TRUE)
   15.             └─base::as.data.frame.integer(x[[i]], optional = TRUE)
  
  [ FAIL 2 | WARN 0 | SKIP 48 | PASS 449 ]
  Error:
  ! Test failures.
  Execution halted