* using log directory ‘/home/hornik/tmp/CRAN_pretest/bilatr.Rcheck’ * using R Under development (unstable) (2026-11-10 r90874) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 23.1.4 (2) Debian flang version 23.1.4 (2) * running under: Debian GNU/Linux forky/sid * using session charset: UTF-8 * current time: 2026-11-11 12:27:04 UTC * checking for file ‘bilatr/DESCRIPTION’ ... OK * this is package ‘bilatr’ version ‘1.0.0’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [4s/10s] NOTE Maintainer: ‘David Randahl ’ New submission Possibly misspelled words in DESCRIPTION: GDELT (26:10) dyad (22:43, 23:64, 24:27) Suggests or Enhances not in mainstream repositories: cmdstanr Availability using Additional_repositories specification: cmdstanr yes https://stan-dev.r-universe.dev * checking package namespace information ... OK * checking package dependencies ... INFO Package suggested but not available for checking: 'cmdstanr' * 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 ‘bilatr’ can be installed ... [4s/4s] OK * 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 ... [0s/0s] OK * checking whether the package can be loaded with stated dependencies ... [0s/0s] OK * checking whether the package can be unloaded cleanly ... [0s/0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK * checking whether the namespace can be unloaded cleanly ... [0s/0s] OK * checking loading without being on the library search path ... [0s/0s] 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 ... [10s/10s] OK * checking Rd files ... [0s/0s] 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 R/sysdata.rda ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [16s/16s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [71s/72s] ERROR Running ‘testthat.R’ [71s/72s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(bilatr) > > test_check("bilatr") recode_cameo(): 1 row(s) did not match any code in cameo_lookup. diagnose_convergence(): no model is recorded on the fit, so `stan_model = "stable"` is assumed. Pass `stan_model` if the fit used another model. diagnose_convergence(): no model is recorded on the fit, so `stan_model = "stable"` is assumed. Pass `stan_model` if the fit used another model. diagnose_convergence(): no model is recorded on the fit, so `stan_model = "stable"` is assumed. Pass `stan_model` if the fit used another model. diagnose_convergence(): no model is recorded on the fit, so `stan_model = "stable"` is assumed. Pass `stan_model` if the fit used another model. diagnose_convergence(): no model is recorded on the fit, so `stan_model = "stable"` is assumed. Pass `stan_model` if the fit used another model. diagnose_convergence(): no model is recorded on the fit, so `stan_model = "stable"` is assumed. Pass `stan_model` if the fit used another model. diagnose_convergence(): no model is recorded on the fit, so `stan_model = "stable"` is assumed. Pass `stan_model` if the fit used another model. diagnose_convergence(): no model is recorded on the fit, so `stan_model = "stable"` is assumed. Pass `stan_model` if the fit used another model. diagnose_convergence(): no model is recorded on the fit, so `stan_model = "stable"` is assumed. Pass `stan_model` if the fit used another model. diagnose_convergence(): no model is recorded on the fit, so `stan_model = "stable"` is assumed. Pass `stan_model` if the fit used another model. diagnose_convergence(): no model is recorded on the fit, so `stan_model = "stable"` is assumed. Pass `stan_model` if the fit used another model. diagnose_convergence(): no model is recorded on the fit, so `stan_model = "stable"` is assumed. Pass `stan_model` if the fit used another model. diagnose_convergence(): no model is recorded on the fit, so `stan_model = "stable"` is assumed. Pass `stan_model` if the fit used another model. diagnose_convergence(): no model is recorded on the fit, so `stan_model = "stable"` is assumed. Pass `stan_model` if the fit used another model. diagnose_convergence(): no model is recorded on the fit, so `stan_model = "stable"` is assumed. Pass `stan_model` if the fit used another model. Saving _problems/test_diagnose_convergence-429.R Saving _problems/test_diagnose_convergence-484.R recode_cameo(): 3 row(s) matched a bare top-level CAMEO root code with no ModifiedRootCode (its sub-codes span several classes). aggregate_events(): the following class(es) of `PentaClass` have zero in-window events and get no column: 0 recode_cameo(): 1 row(s) matched a bare top-level CAMEO root code with no ModifiedRootCode (its sub-codes span several classes). recode_cameo(): 1 row(s) did not match any code in cameo_lookup. prepare_stan_data(): n_countries = 3 (dyads per country -- min 4, median 4.0, max 4) prepare_stan_data(): reference_category not set; anchoring on the first action column, "meetings". Higher theta means more "meetings" relative to other action types. Set reference_category to a cooperative class to read higher theta as more cooperative relations. prepare_stan_data(): reference_category not set; anchoring on the first action column, "meetings". Higher theta means more "meetings" relative to other action types. Set reference_category to a cooperative class to read higher theta as more cooperative relations. prepare_stan_data(): reference_category not set; anchoring on the first action column, "meetings". Higher theta means more "meetings" relative to other action types. Set reference_category to a cooperative class to read higher theta as more cooperative relations. prepare_stan_data(): reference_category not set; anchoring on the first action column, "meetings". Higher theta means more "meetings" relative to other action types. Set reference_category to a cooperative class to read higher theta as more cooperative relations. prepare_stan_data(): reference_category not set; anchoring on the first action column, "meetings". Higher theta means more "meetings" relative to other action types. Set reference_category to a cooperative class to read higher theta as more cooperative relations. prepare_stan_data(): reference_category not set; anchoring on the first action column, "protests". Higher theta means more "protests" relative to other action types. Set reference_category to a cooperative class to read higher theta as more cooperative relations. recode_cameo(): 3 row(s) matched a bare top-level CAMEO root code with no ModifiedRootCode (its sub-codes span several classes). recode_cameo(): 4 row(s) matched a bare top-level CAMEO root code with no ModifiedRootCode (its sub-codes span several classes). download_gdelt(): 20200101 (daily) (678B) -- downloaded download_gdelt(): 1985 (yearly) -- missing download_gdelt(): 201001 (monthly) (571B) -- downloaded download_gdelt(): 201001 (monthly) (571B) -- cached download_gdelt(): 1985 (yearly) -- missing download_gdelt(): 201001 (monthly) -- corrupt download_gdelt(): 201001 (monthly) (571B) -- downloaded download_gdelt(): 1985 (yearly) -- missing icc_curves(): no model is recorded on the fit, so `stan_model = "stable"` is assumed. Pass `stan_model` if the fit used another model. icc_curves(): no model is recorded on the fit, so `stan_model = "stable"` is assumed. Pass `stan_model` if the fit used another model. icc_curves(): no model is recorded on the fit, so `stan_model = "stable"` is assumed. Pass `stan_model` if the fit used another model. icc_curves(): no model is recorded on the fit, so `stan_model = "stable"` is assumed. Pass `stan_model` if the fit used another model. icc_curves(): no model is recorded on the fit, so `stan_model = "stable"` is assumed. Pass `stan_model` if the fit used another model. icc_curves(): no model is recorded on the fit, so `stan_model = "stable"` is assumed. Pass `stan_model` if the fit used another model. icc_curves(): no model is recorded on the fit, so `stan_model = "stable"` is assumed. Pass `stan_model` if the fit used another model. icc_curves(): no model is recorded on the fit, so `stan_model = "stable"` is assumed. Pass `stan_model` if the fit used another model. icc_curves(): no model is recorded on the fit, so `stan_model = "stable"` is assumed. Pass `stan_model` if the fit used another model. icc_curves(): no model is recorded on the fit, so `stan_model = "stable"` is assumed. Pass `stan_model` if the fit used another model. icc_curves(): no model is recorded on the fit, so `stan_model = "stable"` is assumed. Pass `stan_model` if the fit used another model. prepare_stan_data(): reference_category not set; anchoring on the first action column, "zeta". Higher theta means more "zeta" relative to other action types. Set reference_category to a cooperative class to read higher theta as more cooperative relations. prepare_stan_data(): reference_category not set; anchoring on the first action column, "zeta". Higher theta means more "zeta" relative to other action types. Set reference_category to a cooperative class to read higher theta as more cooperative relations. prepare_stan_data(): reference_category not set; anchoring on the first action column, "zeta". Higher theta means more "zeta" relative to other action types. Set reference_category to a cooperative class to read higher theta as more cooperative relations. check_compositional_residuals(): no model is recorded on the fit, so `stan_model = "stable"` is assumed. Pass `stan_model` if the fit used another model. check_compositional_residuals(): no model is recorded on the fit, so `stan_model = "stable"` is assumed. Pass `stan_model` if the fit used another model. check_compositional_residuals(): no model is recorded on the fit, so `stan_model = "stable"` is assumed. Pass `stan_model` if the fit used another model. check_compositional_residuals(): no model is recorded on the fit, so `stan_model = "stable"` is assumed. Pass `stan_model` if the fit used another model. check_compositional_residuals(): no model is recorded on the fit, so `stan_model = "stable"` is assumed. Pass `stan_model` if the fit used another model. check_compositional_residuals(): no model is recorded on the fit, so `stan_model = "stable"` is assumed. Pass `stan_model` if the fit used another model. recode_cameo(): 3 row(s) matched a bare top-level CAMEO root code with no ModifiedRootCode (its sub-codes span several classes). recode_cameo(): 3 row(s) matched a bare top-level CAMEO root code with no ModifiedRootCode (its sub-codes span several classes). recode_cameo(): 3 row(s) matched a bare top-level CAMEO root code with no ModifiedRootCode (its sub-codes span several classes). recode_cameo(): 3 row(s) matched a bare top-level CAMEO root code with no ModifiedRootCode (its sub-codes span several classes). recode_cameo(): 3 row(s) matched a bare top-level CAMEO root code with no ModifiedRootCode (its sub-codes span several classes). recode_cameo(): 3 row(s) matched a bare top-level CAMEO root code with no ModifiedRootCode (its sub-codes span several classes). recode_cameo(): 3 row(s) matched a bare top-level CAMEO root code with no ModifiedRootCode (its sub-codes span several classes). recode_cameo(): 3 row(s) matched a bare top-level CAMEO root code with no ModifiedRootCode (its sub-codes span several classes). recode_cameo(): 3 row(s) matched a bare top-level CAMEO root code with no ModifiedRootCode (its sub-codes span several classes). [ FAIL 2 | WARN 0 | SKIP 69 | PASS 4160 ] ══ Skipped tests (69) ══════════════════════════════════════════════════════════ • On CRAN (13): 'test_benchmark.R:293:3', 'test_fit_interface.R:271:3', 'test_fit_interface.R:293:3', 'test_fit_interface.R:303:3', 'test_fit_interface.R:314:3', 'test_fit_interface.R:371:3', 'test_fit_interface.R:395:3', 'test_model_cache.R:149:3', 'test_reproducibility.R:116:3', 'test_reproducibility.R:136:3', 'test_reproducibility.R:151:3', 'test_theta_data.R:318:3', 'test_theta_data.R:338:3' • {cmdstanr} is not installed (56): 'test_category_merges.R:360:3', 'test_category_merges.R:404:3', 'test_diagnose_and_extract.R:5:3', 'test_diagnose_and_extract.R:50:3', 'test_diagnose_and_extract.R:85:3', 'test_diagnose_and_extract.R:106:3', 'test_diagnose_and_extract.R:121:3', 'test_diagnose_and_extract.R:154:3', 'test_diagnose_and_extract.R:172:3', 'test_diagnose_and_extract.R:193:3', 'test_diagnose_and_extract.R:205:3', 'test_diagnose_convergence.R:560:3', 'test_diagnose_convergence.R:594:3', 'test_diagnose_convergence.R:626:3', 'test_diagnose_convergence.R:644:3', 'test_diagnose_convergence.R:658:3', 'test_diagnose_convergence.R:681:3', 'test_diagnose_convergence.R:696:3', 'test_diagnose_convergence.R:719:3', 'test_extract.R:4:3', 'test_extract.R:37:3', 'test_extract.R:49:3', 'test_extract.R:67:3', 'test_extract.R:90:3', 'test_fast_csv_read.R:117:3', 'test_fast_csv_read.R:139:3', 'test_fast_csv_read.R:168:3', 'test_fast_csv_read.R:197:3', 'test_fast_csv_read.R:213:3', 'test_fast_csv_read.R:237:3', 'test_fast_csv_read.R:294:3', 'test_gamma_offset.R:86:3', 'test_gamma_offset.R:292:3', 'test_gamma_offset.R:373:3', 'test_gamma_offset.R:573:3', 'test_icc_curves.R:118:3', 'test_model_cache.R:58:3', 'test_model_cache.R:64:3', 'test_model_cache.R:79:3', 'test_residual_check.R:321:3', 'test_residual_check.R:344:3', 'test_retire_weights.R:24:3', 'test_sign_ambiguity.R:20:3', 'test_stan_smoke.R:2:3', 'test_stan_smoke.R:11:3', 'test_stan_smoke.R:28:3', 'test_stan_smoke.R:136:3', 'test_stan_smoke.R:171:3', 'test_theta_filtered.R:124:3', 'test_theta_filtered.R:150:3', 'test_theta_filtered.R:178:3', 'test_theta_filtered.R:198:3', 'test_theta_filtered.R:220:3', 'test_theta_filtered.R:244:3', 'test_theta_filtered.R:262:3', 'test_theta_filtered.R:323:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_diagnose_convergence.R:427:3'): .compute_chunk_size() shrinks with more file_mb headroom lost, and shrinks further, not just once, as n_cores increases ── Error: max_memory_mb (1000 MB) leaves no room for even one Tier 3 variable per chunk: the largest chain file (~0 MB) is mapped in full during every read, and ~3389 MB is this process's own measured baseline (R and its loaded packages) -- both before any variables are selected, regardless of chunk_size. Allocate at least 3389 MB for this job. Backtrace: ▆ 1. └─bilatr:::.compute_chunk_size(...) at test_diagnose_convergence.R:427:3 ── Error ('test_diagnose_convergence.R:484:3'): .estimate_diagnostics_memory_mb() and .compute_chunk_size() invert each other ── Error: max_memory_mb (2000 MB) leaves no room for even one Tier 3 variable per chunk: the largest chain file (~10 MB) is mapped in full during every read, and ~3389 MB is this process's own measured baseline (R and its loaded packages) -- both before any variables are selected, regardless of chunk_size. Allocate at least 3399 MB for this job. Backtrace: ▆ 1. └─bilatr:::.compute_chunk_size(...) at test_diagnose_convergence.R:484:3 [ FAIL 2 | WARN 0 | SKIP 69 | PASS 4160 ] Error: ! Test failures. Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [5s/5s] OK * checking PDF version of manual ... [4s/4s] OK * checking HTML version of manual ... [3s/3s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR, 1 NOTE