Running ‘testthat.R’ [121s/80s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(performance)
  > 
  > test_check("performance")
  Starting 2 test processes
  [ FAIL 5 | WARN 18 | SKIP 34 | PASS 375 ]
  
  ══ Skipped tests (34) ══════════════════════════════════════════════════════════
  • On CRAN (29): 'test-bootstrapped_icc_ci.R:2:3',
    'test-bootstrapped_icc_ci.R:44:3', 'test-binned_residuals.R:137:3',
    'test-binned_residuals.R:164:3', 'test-check_dag.R:1:1',
    'test-check_collinearity.R:181:3', 'test-check_collinearity.R:218:3',
    'test-check_distribution.R:35:3', 'test-check_itemscale.R:28:3',
    'test-check_model.R:1:1', 'test-check_predictions.R:2:1',
    'test-check_residuals.R:2:3', 'test-check_singularity.R:2:3',
    'test-check_singularity.R:23:3', 'test-check_zeroinflation.R:73:3',
    'test-check_zeroinflation.R:112:3', 'test-compare_performance.R:21:3',
    'test-helpers.R:1:1', 'test-icc.R:2:1', 'test-mclogit.R:53:3',
    'test-check_outliers.R:110:3', 'test-model_performance.bayesian.R:1:1',
    'test-model_performance.merMod.R:2:3',
    'test-model_performance.merMod.R:22:3', 'test-model_performance.rma.R:33:3',
    'test-pkg-ivreg.R:7:3', 'test-r2_nakagawa.R:20:1', 'test-rmse.R:35:3',
    'test-test_likelihoodratio.R:55:1'
  • On Linux (3): 'test-nestedLogit.R:1:1', 'test-r2_bayes.R:1:1',
    'test-test_wald.R:1:1'
  • getRversion() > "4.4.0" is TRUE (1): 'test-check_outliers.R:258:3'
  • packageVersion("glmmTMB") > "1.1.10" is not TRUE (1): 'test-r2.R:82:5'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-check_convergence.R:27:3'): check_convergence ────────────────
  check_convergence(model) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure ('test-check_distribution.R:18:3'): check_distribution ──────────────
  out$p_Residuals (`actual`) not equal to c(...) (`expected`).
  
       actual | expected               
   [2] 0.000  | 0.000    [2]           
   [3] 0.000  | 0.000    [3]           
   [4] 0.000  | 0.000    [4]           
   [5] 0.938  - 0.906    [5]           
   [6] 0.000  | 0.000    [6]           
   [7] 0.000  | 0.000    [7]           
   [8] 0.000  | 0.000    [8]           
   [9] 0.031  - 0.062    [9]           
  [10] 0.000  | 0.000    [10]          
  [11] 0.000  | 0.000    [11]          
   ... ...      ...      and 1 more ...
  ── Failure ('test-performance_aic.R:29:3'): performance_aic lme4 default ───────
  performance_aic(m1, estimator = "ML") (`actual`) not equal to 125.0043 (`expected`).
  
    `actual`: 128.2
  `expected`: 125.0
  ── Failure ('test-performance_aic.R:31:3'): performance_aic lme4 default ───────
  performance_aic(m2, estimator = "REML") (`actual`) not equal to 128.0054 (`expected`).
  
    `actual`: 132.9
  `expected`: 128.0
  ── Failure ('test-r2_nakagawa.R:7:3'): r2_nakagawa ─────────────────────────────
  r2_nakagawa(model) (`actual`) not equal to structure(...) (`expected`).
  
    `actual$R2_conditional`: 0.950
  `expected$R2_conditional`: 0.969
  
    `actual$R2_marginal`: 0.87
  `expected$R2_marginal`: 0.66
  
  [ FAIL 5 | WARN 18 | SKIP 34 | PASS 375 ]
  Error: Test failures
  Execution halted