- using R version 4.6.2 (2026-10-29 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 14.3.0
GNU Fortran (GCC) 14.3.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
* current time: 2026-11-23 21:23:43 UTC
- checking for file 'metainsight/DESCRIPTION' ... OK
- this is package 'metainsight' version '7.1.0'
- 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 hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'metainsight' can be installed ... OK
See the install log for details.
- checking installed package size ... OK
- 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 ... [2s] OK
- checking whether the package can be loaded with stated dependencies ... [2s] OK
- checking whether the package can be unloaded cleanly ... [2s] OK
- checking whether the namespace can be loaded with stated dependencies ... [2s] OK
- checking whether the namespace can be unloaded cleanly ... [2s] OK
- checking loading without being on the library search path ... [3s] 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 ... [14s] OK
- checking Rd files ... [1s] OK
- checking Rd metadata ... 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 installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ... [52s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [223s] ERROR
Running 'testthat.R' [222s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(metainsight)
> library(testthat)
> test_check("metainsight")
Saving _problems/test-bnma_analysis-374.R
[ FAIL 1 | WARN 3 | SKIP 61 | PASS 1140 ]
══ Skipped tests (61) ══════════════════════════════════════════════════════════
• Consistently flakey despite definitely working (1): 'test-setup_load.R:245:3'
• because CINeMA uses an old version of {netmeta} (1):
'test-export_cinema.R:162:3'
• skip_shinytest2 is TRUE (59): 'test-baseline_compare.R:16:3',
'test-baseline_details.R:21:3', 'test-baseline_deviance.R:18:3',
'test-baseline_forest.R:33:3', 'test-baseline_mcmc.R:34:3',
'test-baseline_model.R:64:3', 'test-baseline_ranking.R:40:3',
'test-baseline_regression.R:44:3', 'test-baseline_results.R:15:3',
'test-baseline_summary.R:11:3', 'test-bayes_compare.R:16:3',
'test-bayes_details.R:21:3', 'test-bayes_deviance.R:25:3',
'test-bayes_forest.R:32:3', 'test-bayes_mcmc.R:34:3',
'test-bayes_model.R:45:3', 'test-bayes_nodesplit.R:24:3',
'test-bayes_nodesplit.R:55:3', 'test-bayes_ranking.R:49:3',
'test-bayes_results.R:8:3', 'test-covariate_compare.R:16:3',
'test-covariate_details.R:21:3', 'test-covariate_deviance.R:18:3',
'test-covariate_forest.R:32:3', 'test-covariate_mcmc.R:35:3',
'test-covariate_model.R:158:3', 'test-covariate_model.R:231:3',
'test-covariate_ranking.R:40:3', 'test-covariate_regression.R:165:3',
'test-covariate_results.R:15:3', 'test-covariate_summary.R:11:3',
'test-export_cinema.R:175:3', 'test-export_cinema.R:198:3',
'test-export_markdown.R:3:3', 'test-export_markdown.R:22:3',
'test-export_markdown.R:38:3', 'test-export_markdown.R:129:3',
'test-export_markdown.R:212:3', 'test-export_markdown.R:304:3',
'test-freq_compare.R:18:3', 'test-freq_forest.R:17:3',
'test-freq_inconsistent.R:25:3', 'test-freq_summary.R:15:3',
'test-save_and_load.R:2:3', 'test-setup_configure.R:46:3',
'test-setup_configure.R:84:3', 'test-setup_configure.R:120:3',
'test-setup_exclude.R:84:3', 'test-setup_exclude.R:143:3',
'test-setup_exclude.R:178:3', 'test-setup_load.R:131:3',
'test-setup_load.R:175:3', 'test-setup_load.R:194:3',
'test-setup_load.R:217:3', 'test-setup_upgrade.R:19:3',
'test-setup_upgrade.R:37:3', 'test-summary_char.R:61:3',
'test-summary_network.R:18:3', 'test-summary_study.R:35:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-bnma_analysis.R:374:3'): 1. BaselineRiskRegression() sets RNGs correctly;
2. BaselineRiskRegression() gives reproducible output;
3. BaselineRiskModelOutput() gives correct output;
4. BnmaRelativeEffects() calculates relative effects;
5. GetReferenceOutcome() obtains imputed outcomes;
6. GetBnmaMcmcCharacteristics() returns correct MCMC data;
7. GetBnmaPriors() returns correct prior distributions. ──
Expected `GetBnmaMcmcCharacteristics(result_1)` to equal `expected_mcmc_table`.
Differences:
Component "value": Mean relative difference: 0.7
[ FAIL 1 | WARN 3 | SKIP 61 | PASS 1140 ]
Error:
! Test failures.
Warning message:
In rjags::jags.model(file.model, data = syntax[["data"]], inits = syntax[["inits"]], :
Non-numeric data values supplied for variable(s) reg.control
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [60s] OK
- checking PDF version of manual ... [20s] OK
- checking HTML version of manual ... [12s] OK
- DONE
Status: 1 ERROR