Running ‘testthat.R’ [102s/249s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(afex)
  Loading required package: lme4
  Loading required package: Matrix
  ************
  Welcome to afex. For support visit: http://afex.singmann.science/
  - Functions for ANOVAs: aov_car(), aov_ez(), and aov_4()
  - Methods for calculating p-values with mixed(): 'KR', 'S', 'LRT', and 'PB'
  - 'afex_aov' and 'mixed' objects can be passed to emmeans() for follow-up tests
  - NEWS: library('emmeans') now needs to be called explicitly!
  - Get and set global package options with: afex_options()
  - Set orthogonal sum-to-zero contrasts globally: set_sum_contrasts()
  - For example analyses see: browseVignettes("afex")
  ************
  
  Attaching package: 'afex'
  
  The following object is masked from 'package:lme4':
  
      lmer
  
  > 
  > test_check("afex")
  Mixed Model Anova Table (Type 3 tests, KR-method)
  
  Model: value ~ treatment + (1 | id)
  Data: obk.long
       Effect    df      F p.value
  1 treatment 2, 13 2.91 +    .090
  ---
  Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '+' 0.1 ' ' 1
  Mixed Model Anova Table (Type 3 tests, KR-method)
  
  Model: value ~ treatment + phase + (1 | id)
  Data: obk.long
       Effect     df         F p.value
  1 treatment  2, 13    2.91 +    .090
  2     phase 2, 222 38.48 ***   <.001
  ---
  Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '+' 0.1 ' ' 1
  Mixed Model Anova Table (Type 3 tests, LRT-method)
  
  Model: value ~ treatment + (1 | id)
  Data: obk.long
  Df full model: 5
       Effect df  Chisq p.value
  1 treatment  2 5.93 +    .052
  ---
  Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '+' 0.1 ' ' 1
  Mixed Model Anova Table (Type 3 tests, LRT-method)
  
  Model: value ~ treatment + phase + (1 | id)
  Data: obk.long
  Df full model: 7
       Effect df     Chisq p.value
  1 treatment  2    5.93 +    .052
  2     phase  2 66.67 ***   <.001
  ---
  Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '+' 0.1 ' ' 1
  Mixed Model Anova Table (Type 3 tests, PB-method)
  
  Model: use ~ urban + (1 | district)
  Data: Contraception
    Effect df Chisq p.value
  1  urban  1 31.28    .333
  ---
  Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '+' 0.1 ' ' 1
  Mixed Model Anova Table (Type 3 tests, PB-method)
  
  Model: use ~ urban + livch + (1 | district)
  Data: Contraception
    Effect df Chisq p.value
  1  urban  1 36.33    .333
  2  livch  3 77.91    .333
  ---
  Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '+' 0.1 ' ' 1
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  ● On CRAN (17)
  ● empty test (1)
  
  ══ Warnings ════════════════════════════════════════════════════════════════════
  ── Warning (test-aov_car-bugs.R:244:3): aov_ez works with multiple covariates ──
  longer object length is not a multiple of shorter object length
  Backtrace:
    1. testthat::expect_is(...) test-aov_car-bugs.R:244:2
    4. afex::aov_ez(...)
    5. afex::aov_car(...)
    8. base::all.equal.default(...)
    9. base::all.equal.list(target, current, ...)
   11. base::all.equal.factor(...)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-afex_plot-bugs.R:85:3): binomial models plot data correctly with factor DVs ──
  `p1` not equivalent to `p2`.
  Component "layers": Component 1: Component 7: Component 5: Component 1: target is not list-like
  Component "layers": Component 1: Component 11: Component 1: target is not list-like
  Component "layers": Component 2: Component 11: Component 1: target is not list-like
  Component "layers": Component 3: Component 11: Component 1: target is not list-like
  Component "scales": Component "super": Component "...": target is not list-like
  Component "scales": Component "super": Component "env": Component "self": Component "super": Component "...": target is not list-like
  Component "scales": Component "super": Component "env": Component "self": Component "super": Component "env": Component "self": Component "super": Component "...": target is not list-like
  Component "scales": Component "super": Component "env": Component "self": Component "super": Component "env": Component "self": Component "super": Component "env": Component "self": Component "super": Component "...": target is not list-like
  Component "scales": Component "super": Component "env": Component "self": Component "super": Component "env": Component "self": Component "super": Component "env": Component "self": Component "super": Component "env": Component "self": Component "super": Component "...": target is not list-like
  ...
  
  [ FAIL 1 | WARN 1 | SKIP 18 | PASS 382 ]
  Error: Test failures
  Execution halted