- using R Under development (unstable) (2026-01-30 r89357)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)
GNU Fortran (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘insight/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘insight’ version ‘1.4.5’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘insight’ can be installed ... [56s/129s] OK
See the install log for details.
- checking package directory ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [140s/238s] OK
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [37s/47s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [528s/517s] ERROR
Running ‘testthat.R’ [527s/516s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(insight)
> test_check("insight")
Starting 2 test processes.
> test-find_transformation.R: boundary (singular) fit: see help('isSingular')
> test-gamlss.R: GAMLSS-RS iteration
> test-gamlss.R: 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')
Saving _problems/test-get_residuals-63.R
Saving _problems/test-get_residuals-91.R
Saving _problems/test-get_residuals-127.R
> 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 3 | WARN 2 | SKIP 92 | PASS 3433 ]
══ Skipped tests (92) ══════════════════════════════════════════════════════════
• On CRAN (84): 'test-GLMMadaptive.R:2:1', 'test-averaging.R:1:1',
'test-bias_correction.R:1:1', 'test-blmer.R:262:3', 'test-brms.R:1:1',
'test-betareg.R:197:5', '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_predicted.R:2:1',
'test-get_priors.R:1:1', '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-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-get_residuals.R:60:3'): get_residuals - glm ──────────────────
Expected `get_residuals(m, weighted = TRUE)` to equal `as.vector(weighted.residuals(m))`.
Differences:
actual | expected
[1] 1.21 - 1.09 [1]
[2] 1.28 - 1.15 [2]
[3] 0.86 - 0.65 [3]
[4] -1.04 - -0.85 [4]
[5] -0.52 - -0.38 [5]
[6] -1.27 - -1.03 [6]
[7] -0.55 - -0.40 [7]
[8] -1.37 - -1.48 [8]
[9] -1.55 - -1.67 [9]
[10] -0.96 - -0.78 [10]
... ... ... and 22 more ...
── Error ('test-get_residuals.R:88:3'): get_residuals - lmer ───────────────────
Error in `obj$na.action`: $ operator not defined for this S4 class
Backtrace:
▆
1. ├─testthat::expect_equal(get_residuals(m, weighted = TRUE), as.vector(weighted.residuals(m))) at test-get_residuals.R:88:3
2. │ └─testthat::quasi_label(enquo(expected), expected.label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::as.vector(weighted.residuals(m))
5. └─stats::weighted.residuals(m)
6. └─stats::naresid(obj$na.action, obj$weights)
── Error ('test-get_residuals.R:124:3'): get_residuals - glmer ─────────────────
Error in `obj$na.action`: $ operator not defined for this S4 class
Backtrace:
▆
1. ├─testthat::expect_equal(get_residuals(m, weighted = TRUE), as.vector(weighted.residuals(m))) at test-get_residuals.R:124:3
2. │ └─testthat::quasi_label(enquo(expected), expected.label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::as.vector(weighted.residuals(m))
5. └─stats::weighted.residuals(m)
6. └─stats::naresid(obj$na.action, obj$weights)
[ FAIL 3 | WARN 2 | SKIP 92 | PASS 3433 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [35s/58s] OK
- checking PDF version of manual ... [19s/30s] OK
- checking HTML version of manual ... [25s/45s] OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR