Running ‘testthat.R’ [433s/282s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(patrick)
  > library(statsExpressions)
  > 
  > test_check("statsExpressions")
  Starting 2 test processes.
  > test-oneway-anova-bayes.R: Multiple `BFBayesFactor` models detected - posteriors are extracted from
  > test-oneway-anova-bayes.R:   the first numerator model.
  > test-oneway-anova-bayes.R:   See help("get_parameters
  > test-oneway-anova-bayes.R: ", package = "insight").
  > test-oneway-anova-bayes.R: Multiple `BFBayesFactor` models detected - posteriors are extracted from
  > test-oneway-anova-bayes.R:   the first numerator model.
  > test-oneway-anova-bayes.R:   See help("get_parameters
  > test-oneway-anova-bayes.R: ", package = "insight").
  > test-oneway-anova-bayes.R: Multiple `BFBayesFactor` models detected - posteriors are extracted from
  > test-oneway-anova-bayes.R:   the first numerator model.
  > test-oneway-anova-bayes.R:   See help("get_parameters
  > test-oneway-anova-bayes.R: ", package = "insight").
  > test-oneway-anova-bayes.R: Multiple `BFBayesFactor` models detected - posteriors are extracted from
  > test-oneway-anova-bayes.R:   the first numerator model.
  > test-oneway-anova-bayes.R:   See help("get_parameters
  > test-oneway-anova-bayes.R: ", package = "insight").
  Saving _problems/test-oneway-anova-bayes-18.R
  [ FAIL 1 | WARN 4 | SKIP 64 | PASS 28 ]
  
  ══ Skipped tests (64) ══════════════════════════════════════════════════════════
  • On CRAN (63): 'test-centrality-description.R:1:1',
    'test-centrality-description.R:49:1', 'test-corr-test.R:3:1',
    'test-corr-test.R:39:1', 'test-corr-test.R:74:1', 'test-corr-test.R:110:1',
    'test-long-to-wide-converter.R:3:1', 'test-long-to-wide-converter.R:53:1',
    'test-contingency-table.R:1:1', 'test-contingency-table.R:49:1',
    'test-contingency-table.R:108:1', 'test-contingency-table.R:156:1',
    'test-contingency-table.R:184:1', 'test-meta-random-parametric.R:1:1',
    'test-meta-random-robust.R:1:1', 'test-meta-random-bayes.R:1:1',
    'test-one-sample.R:10:3', 'test-one-sample.R:10:3', 'test-one-sample.R:10:3',
    'test-one-sample.R:10:3', 'test-one-sample.R:10:3', 'test-one-sample.R:10:3',
    'test-one-sample.R:10:3', 'test-one-sample.R:10:3', 'test-one-sample.R:10:3',
    'test-one-sample.R:10:3', 'test-one-sample.R:10:3', 'test-one-sample.R:10:3',
    'test-one-sample.R:10:3', 'test-one-sample.R:10:3', 'test-one-sample.R:10:3',
    'test-one-sample.R:10:3', 'test-one-two-sample-dataframes.R:1:1',
    'test-oneway-anova-nonparametric.R:5:1',
    'test-oneway-anova-nonparametric.R:41:1',
    'test-oneway-anova-parametric.R:1:1', 'test-oneway-anova-parametric.R:35:1',
    'test-oneway-anova-parametric.R:53:1', 'test-oneway-anova-bayes.R:39:1',
    'test-pairwise-comparisons.R:3:1', 'test-pairwise-comparisons.R:98:1',
    'test-pairwise-comparisons.R:131:1', 'test-pairwise-comparisons.R:152:1',
    'test-pairwise-comparisons.R:218:1', 'test-pairwise-comparisons.R:318:1',
    'test-tidy-model-expressions.R:1:1', 'test-tidy-model-expressions.R:33:1',
    'test-tidy-model-expressions.R:57:1', 'test-tidy-model-expressions.R:78:1',
    'test-two-sample-bayes.R:1:1', 'test-two-sample-bayes.R:18:1',
    'test-two-sample-nonparametric.R:1:1',
    'test-two-sample-nonparametric.R:22:1', 'test-two-sample-parametric.R:1:1',
    'test-two-sample-parametric.R:23:1', 'test-two-sample-parametric.R:45:1',
    'test-two-sample-parametric.R:66:1', 'test-two-sample-robust.R:3:1',
    'test-two-sample-robust.R:25:1', 'test-two-sample-robust.R:45:1',
    'test-two-sample-robust.R:68:1', 'test-oneway-anova-robust.R:1:1',
    'test-oneway-anova-robust.R:40:1'
  • On Linux (1): 'test-centrality-description.R:27:5'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-oneway-anova-bayes.R:13:5'): bayesian (between-subjects - anova) ──
  <subscriptOutOfBoundsError/error/condition>
  Error in `data$method[[1L]]`: subscript out of bounds
  Backtrace:
      ▆
   1. ├─base::suppressWarnings(...) at test-oneway-anova-bayes.R:13:5
   2. │ └─base::withCallingHandlers(...)
   3. └─statsExpressions::oneway_anova(...)
   4.   └─statsExpressions::add_expression_col(...)
   5.     └─base::grepl("contingency", data$method[[1L]], fixed = TRUE)
   6.       └─base::is.factor(x)
  
  [ FAIL 1 | WARN 4 | SKIP 64 | PASS 28 ]
  Error:
  ! Test failures.
  Execution halted