- using R version 4.6.1 Patched (2026-07-12 r90255)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-15 (Debian 15.3.0-1) 15.3.0
GNU Fortran (Debian 15.3.0-1) 15.3.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
* current time: 2026-07-15 05:14:32 UTC
- checking for file ‘MAIHDA/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘MAIHDA’ version ‘0.2.1’
- 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 ‘MAIHDA’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... 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 ... [4s/5s] OK
- checking whether the package can be loaded with stated dependencies ... [3s/4s] OK
- checking whether the package can be unloaded cleanly ... [3s/5s] OK
- checking whether the namespace can be loaded with stated dependencies ... [3s/5s] OK
- checking whether the namespace can be unloaded cleanly ... [4s/6s] OK
- checking loading without being on the library search path ... [4s/6s] 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 ... [48s/62s] OK
- checking Rd files ... [1s/2s] 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 ... [0s/0s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [5s/6s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [169s/212s] ERROR
Running ‘testthat.R’ [169s/211s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do your testing?
> # - If you are developing a package, run your tests using covr::report(),
> # devtools::test(), or by pressing Ctrl/Cmd + Shift + T.
> # - If you are testing a script, run your tests using testthat::test_file()
>
> library(testthat)
> library(MAIHDA)
>
> test_check("MAIHDA")
── Intersectional interactions ─────────────────────────────────────────────────
4 of 9 strata flagged (95% interval).
Interaction reported on the link (latent) scale.
stratum label n interaction se lower upper p_value p_adjusted flagged
1 1 × 1 60 2.613 0.1245 2.369 2.857 8.752e-98 7.877e-97 TRUE
2 2 × 1 60 -2.608 0.1245 -2.852 -2.364 1.866e-97 8.398e-97 TRUE
5 2 × 2 60 2.568 0.1245 2.324 2.812 1.442e-94 4.326e-94 TRUE
4 1 × 2 60 -2.518 0.1245 -2.762 -2.274 5.585e-91 1.257e-90 TRUE
direction
above
below
above
below
Interaction BLUPs are shrunken (partially pooled) estimates; treat flags as
exploratory. See ?maihda_interactions.
── Intersectional interactions ─────────────────────────────────────────────────
3 of 3 strata flagged (95% interval).
Interaction reported on the link (latent) scale.
stratum label n interaction se lower upper p_value p_adjusted flagged
1 1 × 1 60 2.613 0.1245 2.369 2.857 8.752e-98 7.877e-97 TRUE
2 2 × 1 60 -2.608 0.1245 -2.852 -2.364 1.866e-97 8.398e-97 TRUE
5 2 × 2 60 2.568 0.1245 2.324 2.812 1.442e-94 4.326e-94 TRUE
direction
above
below
above
Interaction BLUPs are shrunken (partially pooled) estimates; treat flags as
exploratory. See ?maihda_interactions.
── Intersectional interactions ─────────────────────────────────────────────────
? of 9 strata flagged (95% interval).
Interaction reported on the link (latent) scale.
stratum label interaction
1 1 × 1 2.612662
2 2 × 1 -2.608177
5 2 × 2 2.568450
4 1 × 2 -2.518223
7 1 × 3 -0.094440
9 3 × 3 0.054712
6 3 × 2 -0.050227
8 2 × 3 0.039727
3 3 × 1 -0.004485
Interaction BLUPs are shrunken (partially pooled) estimates; treat flags as
exploratory. See ?maihda_interactions.
Intersectional interactions: 4 of 9 strata flagged (95% interval, no multiplicity correction)
strongest: 1 × 1 (+2.613, above)
uncorrected across 9 strata; maihda_interactions(x, adjust = "BH") for an FDR screen
── Intersectional interactions ─────────────────────────────────────────────────
4 of 9 strata flagged (95% interval; BH-adjusted p-values).
Model: adjusted (two-model); interaction on the link (latent) scale.
stratum label n interaction se lower upper p_value p_adjusted flagged
1 1 × 1 60 2.613 0.1245 2.369 2.857 8.752e-98 7.877e-97 TRUE
2 2 × 1 60 -2.608 0.1245 -2.852 -2.364 1.866e-97 8.398e-97 TRUE
5 2 × 2 60 2.568 0.1245 2.324 2.812 1.442e-94 4.326e-94 TRUE
direction
above
below
above
Interaction BLUPs are shrunken (partially pooled) estimates; treat flags as
exploratory. See ?maihda_interactions.
── Intersectional interactions ─────────────────────────────────────────────────
4 of 9 strata flagged (95% interval; BH-adjusted p-values).
Model: adjusted (two-model); interaction on the link (latent) scale.
stratum label n interaction se lower upper p_value p_adjusted flagged
1 1 × 1 60 2.613 0.1245 2.369 2.857 8.752e-98 7.877e-97 TRUE
2 2 × 1 60 -2.608 0.1245 -2.852 -2.364 1.866e-97 8.398e-97 TRUE
5 2 × 2 60 2.568 0.1245 2.324 2.812 1.442e-94 4.326e-94 TRUE
direction
above
below
above
Interaction BLUPs are shrunken (partially pooled) estimates; treat flags as
exploratory. See ?maihda_interactions.
── Intersectional interactions ─────────────────────────────────────────────────
4 of 9 strata flagged (95% interval; BH-adjusted p-values).
Model: adjusted (two-model); interaction on the link (latent) scale.
stratum label n interaction se lower upper p_value p_adjusted flagged
1 1 × 1 60 2.613 0.1245 2.369 2.857 8.752e-98 7.877e-97 TRUE
2 2 × 1 60 -2.608 0.1245 -2.852 -2.364 1.866e-97 8.398e-97 TRUE
5 2 × 2 60 2.568 0.1245 2.324 2.812 1.442e-94 4.326e-94 TRUE
4 1 × 2 60 -2.518 0.1245 -2.762 -2.274 5.585e-91 1.257e-90 TRUE
direction
above
below
above
below
Interaction BLUPs are shrunken (partially pooled) estimates; treat flags as
exploratory. See ?maihda_interactions.
── Intersectional interactions ─────────────────────────────────────────────────
? of 9 strata flagged (95% interval).
Interaction reported on the link (latent) scale.
stratum label interaction
1 1 × 1 2.612662
2 2 × 1 -2.608177
5 2 × 2 2.568450
4 1 × 2 -2.518223
7 1 × 3 -0.094440
9 3 × 3 0.054712
6 3 × 2 -0.050227
8 2 × 3 0.039727
3 3 × 1 -0.004485
Interaction BLUPs are shrunken (partially pooled) estimates; treat flags as
exploratory. See ?maihda_interactions.
Saving _problems/test-plot_upset-94.R
[ FAIL 1 | WARN 0 | SKIP 58 | PASS 1704 ]
══ Skipped tests (58) ══════════════════════════════════════════════════════════
• On CRAN (57): 'test-contextual.R:633:3', 'test-contextual.R:776:3',
'test-cross-classified.R:268:3', 'test-design-weights.R:266:3',
'test-design-weights.R:306:3', 'test-design-weights.R:326:3',
'test-design-weights.R:343:3', 'test-design-weights.R:364:3',
'test-design-weights.R:397:3', 'test-design-weights.R:423:3',
'test-design-weights.R:451:3', 'test-design-weights.R:472:3',
'test-design-weights.R:488:3', 'test-design-weights.R:517:3',
'test-design-weights.R:541:3', 'test-design-weights.R:557:3',
'test-design-weights.R:572:3', 'test-design-weights.R:591:3',
'test-design-weights.R:924:3', 'test-design-weights.R:983:3',
'test-discriminatory-accuracy.R:144:3',
'test-discriminatory-accuracy.R:226:3',
'test-discriminatory-accuracy.R:287:3',
'test-discriminatory-accuracy.R:394:3',
'test-discriminatory-accuracy.R:417:3',
'test-discriminatory-accuracy.R:438:3', 'test-fit_maihda.R:161:3',
'test-information_criteria.R:102:3', 'test-information_criteria.R:125:3',
'test-longitudinal.R:175:1', 'test-negbinomial.R:72:3',
'test-negbinomial.R:112:3', 'test-negbinomial.R:150:3',
'test-negbinomial.R:185:3', 'test-negbinomial.R:199:3',
'test-negbinomial.R:209:3', 'test-negbinomial.R:224:3',
'test-negbinomial.R:237:3', 'test-negbinomial.R:291:3',
'test-negbinomial.R:309:3', 'test-ordinal-engine.R:157:3',
'test-ordinal-engine.R:199:3', 'test-ordinal-engine.R:222:3',
'test-ordinal-engine.R:263:3', 'test-ordinal-engine.R:315:3',
'test-ordinal-engine.R:361:3', 'test-ordinal-engine.R:381:3',
'test-ordinal-engine.R:423:3', 'test-ordinal-engine.R:453:3',
'test-ordinal-engine.R:607:3', 'test-run_app.R:119:3',
'test-run_app.R:308:3', 'test-run_app.R:424:3',
'test-summary_variance.R:270:3', 'test-tidiers.R:148:3',
'test-weighted-count-vpc.R:32:3', 'test-weighted-count-vpc.R:80:3'
• brms Stan tests are opt-in; set MAIHDA_TEST_BRMS=true to run them (1):
'test-interactions.R:460:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-plot_upset.R:93:3'): plot.maihda_analysis dispatches type = 'upset' and forwards rope ──
<Rcpp::exception/C++Error/error/condition>
Error: Downdated VtV is not positive definite
Backtrace:
▆
1. └─MAIHDA::maihda(...) at test-plot_upset.R:93:3
2. └─MAIHDA (local) fit_maihda_fwd(...)
3. ├─base::do.call(fit_maihda, c(list(...), dots_eval))
4. └─MAIHDA (local) `<fn>`(...)
5. └─base::eval(fit_call, fit_env)
6. └─base::eval(fit_call, fit_env)
7. └─lme4::glmer(...)
8. └─lme4::optimizeGlmer(...)
9. └─lme4:::optwrap(...)
10. ├─base::withCallingHandlers(...)
11. ├─base::do.call(optfun, arglist)
12. └─lme4 (local) `<fn>`(...)
13. ├─nM$newf(fn(nM$xeval()))
14. │ └─base::stopifnot(length(value <- as.numeric(value)) == 1L)
15. └─lme4 (local) fn(nM$xeval())
16. └─lme4 (local) pwrssUpdate(...)
[ FAIL 1 | WARN 0 | SKIP 58 | PASS 1704 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [99s/131s] OK
- checking PDF version of manual ... [9s/13s] OK
- checking HTML version of manual ... [9s/14s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR