Running ‘testthat.R’ [206s/104s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(insight)
  > test_check("insight")
  Starting 2 test processes.
  Saving _problems/test-epiR-26.R
  Saving _problems/test-epiR-30.R
  > test-find_transformation.R: boundary (singular) fit: see help('isSingular')
  > test-gamlss.R: GAMLSS-RS iteration 1: Global Deviance = 365.2328 
  > test-gamlss.R: GAMLSS-RS iteration 2: Global Deviance = 365.1292 
  > test-gamlss.R: GAMLSS-RS iteration 3: Global Deviance = 365.1269 
  > test-gamlss.R: GAMLSS-RS iteration 4: Global Deviance = 365.1268 
  > test-gamlss.R: GAMLSS-RS iteration 1: Global Deviance = 5779.746 
  > test-gamlss.R: GAMLSS-RS iteration 2: Global Deviance = 5779.746 
  > test-gamlss.R: GAMLSS-RS iteration 1: Global Deviance = 703.1164 
  > test-gamlss.R: GAMLSS-RS iteration 2: Global Deviance = 703.1164 
  > test-get_model.R: Loading required namespace: GPArotation
  > test-get_random.R: boundary (singular) fit: see help('isSingular')
  > test-glmmPQL.R: iteration 1
  > test-is_converged.R: boundary (singular) fit: see help('isSingular')
  > test-mmrm.R: mmrm() registered as emmeans extension
  > test-mmrm.R: mmrm() registered as car::Anova extension
  > test-model_info.R: boundary (singular) fit: see help('isSingular')
  > test-nestedLogit.R: list(work = c(0L, 0L, 0L, 0L, 0L, 0L, 0L, 1L, 0L, 0L, 0L, 1L, 
  > test-nestedLogit.R: 0L, 0L, 0L, 0L, 1L, 1L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 
  > test-nestedLogit.R: 0L, 1L, 1L, 1L, 0L, 1L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 1L, 1L, 1L, 
  > test-nestedLogit.R: 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 1L, 1L, 1L, 1L, 1L, 1L, 
  > test-nestedLogit.R: 1L, 1L, 0L, 0L, 0L, 1L, 1L, 1L, 0L, 0L, 0L, 1L, 1L, 0L, 0L, 1L, 
  > test-nestedLogit.R: 1L, 1L, 1L, 1L, 1L, 0L, 1L, 1L, 1L, 1L, 1L, 0L, 0L, 0L, 0L, 0L, 
  > test-nestedLogit.R: 1L, 1L, 0L, 0L, 1L, 0L, 0L, 1L, 1L, 1L, 0L, 1L, 1L, 1L, 0L, 0L
  > test-nestedLogit.R: ), full = c(1L, 1L, 0L, 1L, 1L, 0L, 0L, 0L, 1L, 1L, 0L, 0L, 0L, 
  > test-nestedLogit.R: 1L, 0L, 1L, 1L, 0L, 1L, 0L, 0L, 0L, 1L, 1L, 0L, 1L, 1L, 0L, 0L, 
  > test-nestedLogit.R: 0L, 1L, 1L, 1L, 1L, 0L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L))
  > test-polr.R: 
  > test-polr.R: Re-fitting to get Hessian
  > test-polr.R: 
  > test-polr.R: 
  > test-polr.R: Re-fitting to get Hessian
  > test-polr.R: 
  > test-survey_coxph.R: Stratified Independent Sampling design (with replacement)
  > test-survey_coxph.R: dpbc <- survey::svydesign(
  > test-survey_coxph.R:   id = ~1,
  > test-survey_coxph.R:   prob = ~randprob,
  > test-survey_coxph.R:   strata = ~edema,
  > test-survey_coxph.R:   data = subset(pbc, randomized)
  > test-survey_coxph.R: )
  > test-survey_coxph.R: Stratified Independent Sampling design (with replacement)
  > test-survey_coxph.R: dpbc <- survey::svydesign(
  > test-survey_coxph.R:   id = ~1,
  > test-survey_coxph.R:   prob = ~randprob,
  > test-survey_coxph.R:   strata = ~edema,
  > test-survey_coxph.R:   data = subset(pbc, randomized)
  > test-survey_coxph.R: )
  > test-survey_coxph.R: Stratified Independent Sampling design (with replacement)
  > test-survey_coxph.R: dpbc <- survey::svydesign(
  > test-survey_coxph.R:   id = ~1,
  > test-survey_coxph.R:   prob = ~randprob,
  > test-survey_coxph.R:   strata = ~edema,
  > test-survey_coxph.R:   data = subset(pbc, randomized)
  > test-survey_coxph.R: )
  [ FAIL 2 | WARN 0 | SKIP 97 | PASS 3486 ]
  
  ══ Skipped tests (97) ══════════════════════════════════════════════════════════
  • On CRAN (89): 'test-GLMMadaptive.R:2:1', 'test-averaging.R:1:1',
    'test-bias_correction.R:1:1', 'test-betareg.R:197:5', 'test-blmer.R:262:3',
    '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-coxme.R:1:1', 'test-clmm.R:170:3', '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-fixest.R:2:1', 'test-format_table.R:2:1',
    'test-format_table_ci.R:73:3', 'test-gam.R:2:1', 'test-find_smooth.R:39:3',
    'test-get_data.R:507:1', '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_residuals.R:68:3', 'test-get_residuals.R:97:3',
    'test-get_varcov.R:43:3', 'test-get_varcov.R:57:3',
    'test-get_datagrid.R:1092:3', 'test-get_datagrid.R:1129:5',
    '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-glmmTMB.R:67:3', 'test-glmmTMB.R:767:3', 'test-glmmTMB.R:803:3',
    'test-glmmTMB.R:1142:3', 'test-marginaleffects.R:1:1', 'test-mgcv.R:1:1',
    'test-mipo.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-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 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 ════════════════════════════════════════════════════════════════
  ── Failure ('test-epiR.R:22:3'): get_parameters ────────────────────────────────
  Expected `params$Estimate` to equal `c(4.00754, 4.02561, 0.44835, 0.75047, 0.17642, 0.54201)`.
  Differences:
      actual            | expected    
  [1] 4.00753676470588  - 4.00754  [1]
  [2] 4.02561257512714  - 4.02561  [2]
  [3] 0.448350740117156 - 0.44835  [3]
  [4] 0.750470161919178 - 0.75047  [4]
  [5] 0.176421557051525 - 0.17642  [5]
  [6] 0.54200622805274  - 0.54201  [6]
  [7] 7.47925307739092  -             
  
  ── Failure ('test-epiR.R:27:3'): get_parameters ────────────────────────────────
  Expected `params$Parameter` to equal `c("RR", "OR", "ARisk", "AFRisk", "PARisk", "PAFRisk")`.
  Differences:
  `actual[4:7]`:   "AFRisk" "PARisk" "PAFRisk" "E"
  `expected[4:6]`: "AFRisk" "PARisk" "PAFRisk"    
  
  
  [ FAIL 2 | WARN 0 | SKIP 97 | PASS 3486 ]
  Error:
  ! Test failures.
  Execution halted