Running ‘testthat.R’ [178s/205s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(insight)
  > test_check("insight")
  Loading required namespace: httptest2
  boundary (singular) fit: see help('isSingular')
  GAMLSS-RS iteration 1: Global Deviance = 365.2328 
  GAMLSS-RS iteration 2: Global Deviance = 365.1292 
  GAMLSS-RS iteration 3: Global Deviance = 365.1269 
  GAMLSS-RS iteration 4: Global Deviance = 365.1268 
  GAMLSS-RS iteration 1: Global Deviance = 5779.746 
  GAMLSS-RS iteration 2: Global Deviance = 5779.746 
  GAMLSS-RS iteration 1: Global Deviance = 703.1164 
  GAMLSS-RS iteration 2: Global Deviance = 703.1164 
  Loading required namespace: GPArotation
  boundary (singular) fit: see help('isSingular')
  iteration 1
  boundary (singular) fit: see help('isSingular')
  mmrm() registered as emmeans extension
  mmrm() registered as car::Anova extension
  boundary (singular) fit: see help('isSingular')
  Saving _problems/test-null_model-10.R
  
  Re-fitting to get Hessian
  
  
  Re-fitting to get Hessian
  
  
  Attaching package: 'rstpm2'
  
  The following object is masked from 'package:survival':
  
      colon
  
  [ FAIL 1 | WARN 0 | SKIP 100 | PASS 3538 ]
  
  ══ Skipped tests (100) ═════════════════════════════════════════════════════════
  • On CRAN (90): 'test-GLMMadaptive.R:2:1', 'test-averaging.R:1:1',
    'test-betareg.R:197:5', 'test-bias_correction.R:1:1', 'test-blmer.R:1:1',
    'test-brms.R:1:1', 'test-brms_aterms.R:1:1',
    'test-brms_gr_random_effects.R:1:1', 'test-brms_missing.R:1:1',
    'test-brms_mm.R:1:1', 'test-brms_von_mises.R:1:1',
    'test-clean_names.R:109:3', 'test-clean_parameters.R:1:1',
    'test-clmm.R:170:3', 'test-coxme.R:1:1', 'test-cpglmm.R:152:3',
    'test-export_table.R:6:3', 'test-export_table.R:18:3',
    'test-export_table.R:152:3', 'test-export_table.R:273:3',
    'test-export_table.R:327:1', 'test-export_table.R:814:3',
    'test-export_table.R:858:3', 'test-export_table.R:918:1',
    'test-export_table.R:939:3', 'test-export_table.R:1003:3',
    'test-find_random.R:43:3', 'test-find_smooth.R:39:3', 'test-fixest.R:2:1',
    'test-format_table.R:2:1', 'test-format_table_ci.R:73:3', 'test-gam.R:2:1',
    'test-get_data.R:507:1', 'test-get_datagrid.R:1092:3',
    'test-get_datagrid.R:1129:5', 'test-get_loglikelihood.R:143:3',
    'test-get_loglikelihood.R:223:3', 'test-get_loglikelihood.R:320:3',
    'test-get_predicted.R:2:1', 'test-get_priors.R:1:1',
    'test-get_simulated.R:151:3', 'test-get_varcov.R:43:3',
    'test-get_varcov.R:57:3', 'test-glmmTMB.R:67:3', 'test-glmmTMB.R:767:3',
    'test-glmmTMB.R:803:3', 'test-glmmTMB.R:1142:3', 'test-is_converged.R:47:1',
    'test-iv_robust.R:120:3', 'test-lavaan.R:1:1', 'test-lcmm.R:1:1',
    'test-lme.R:28:3', 'test-lme.R:212:3', 'test-marginaleffects.R:1:1',
    'test-mgcv.R:1:1', 'test-mipo.R:1:1', 'test-mira.R:1:1', 'test-mlogit.R:1:1',
    'test-model_info.R:106:3', 'test-modelbased.R:1:1', 'test-mvrstanarm.R:1:1',
    'test-null_model.R:85:3', 'test-panelr-asym.R:165:3', 'test-panelr.R:301:3',
    'test-phylolm.R:1:1', 'test-print_parameters.R:1:1',
    'test-r2_nakagawa_bernoulli.R:1:1', 'test-r2_nakagawa_beta.R:1:1',
    'test-r2_nakagawa_binomial.R:1:1', 'test-r2_nakagawa_gamma.R:1:1',
    'test-r2_nakagawa_linear.R:1:1', 'test-r2_nakagawa_negbin.R:1:1',
    'test-r2_nakagawa_negbin_zi.R:1:1', 'test-r2_nakagawa_ordered_beta.R:1:1',
    'test-r2_nakagawa_poisson.R:1:1', 'test-r2_nakagawa_poisson_zi.R:1:1',
    'test-r2_nakagawa_truncated_poisson.R:1:1', 'test-r2_nakagawa_tweedie.R:1:1',
    'test-rlmer.R:276:3', 'test-rms.R:1:1', 'test-rqss.R:1:1',
    'test-rstanarm.R:1:1', 'test-sdmTMB.R:1:1', 'test-selection.R:2:1',
    'test-spatial.R:2:1', 'test-svylme.R:1:1', 'test-tidymodels.R:1:1',
    'test-vcov_fpc.R:1:1', 'test-vgam.R:2:1', 'test-weightit.R:1:1'
  • On Linux (3): 'test-BayesFactorBF.R:1:1', 'test-MCMCglmm.R:1:1',
    'test-get_data.R:161:3'
  • Package `logistf` is loaded and breaks `mmrm::mmrm()` (1): 'test-mmrm.R:4:1'
  • TRUE is TRUE (1): 'test-feis.R:3:1'
  • Works only interactively (1): 'test-get_simulated.R:422:3'
  • getRversion() >= "4.6.0" is TRUE (1): 'test-get_residuals.R:4:1'
  • works interactively (2): 'test-coxph-panel.R:34:3', 'test-coxph.R:38:3'
  • {bigglm} is not installed (1): 'test-model_info.R:24:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-null_model.R:7:3'): null_model with offset ─────────────────────
  <Rcpp::exception/C++Error/error/condition>
  Error: Downdated VtV is not positive definite
  Backtrace:
       ▆
    1. └─lme4::glmer(...)
    2.   └─lme4::optimizeGlmer(...)
    3.     └─lme4:::optwrap(...)
    4.       ├─base::withCallingHandlers(...)
    5.       ├─base::do.call(optfun, arglist)
    6.       └─lme4 (local) `<fn>`(...)
    7.         ├─nM$newf(fn(nM$xeval()))
    8.         │ └─base::stopifnot(length(value <- as.numeric(value)) == 1L)
    9.         └─lme4 (local) fn(nM$xeval())
   10.           └─lme4 (local) pwrssUpdate(...)
  
  [ FAIL 1 | WARN 0 | SKIP 100 | PASS 3538 ]
  Error:
  ! Test failures.
  Execution halted