- using R Under development (unstable) (2026-07-10 r90234)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc (GCC) 15.2.1 20260123 (Red Hat 15.2.1-7)
GNU Fortran (GCC) 15.2.1 20260123 (Red Hat 15.2.1-7)
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
* current time: 2026-07-11 01:17:14 UTC
- using option ‘--no-stop-on-test-error’
- checking for file ‘BSCB/DESCRIPTION’ ... OK
- this is package ‘BSCB’ version ‘1.0.0’
- package encoding: UTF-8
- 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 ‘BSCB’ can be installed ... [11s/14s] 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 ... [15s/19s] 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 line endings in shell scripts ... OK
- checking line endings in C/C++/Fortran sources/headers ... OK
- checking line endings in Makefiles ... OK
- checking compilation flags in Makevars ... OK
- checking for GNU extensions in Makefiles ... OK
- checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
- checking use of PKG_*FLAGS in Makefiles ... OK
- checking use of SHLIB_OPENMP_*FLAGS in Makefiles ... OK
- checking pragmas in C/C++ headers and code ... OK
- checking compilation flags used ... OK
- checking compiled code ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [206s/244s] ERROR
Running ‘testthat.R’ [206s/243s]
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 additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(BSCB)
>
> test_check("BSCB")
The critical constant lambda = 2.731768
Computing lambda via Monte Carlo sampling...
[1] Call of the function:
OptimalDesign::od_KL(Fx = design_matrix, N = n, crit = "D", K = 7,
L = 19, t.max = 5)
[1] Call of the function:
od_REX(Fx = Fx, crit = "D", track = FALSE)
[1] Running od_D_KL for cca 5 seconds starting at 2026-07-11 02:22:05.684921.
[1] The problem size is n=300000, m=3, N=20
[1] Setting K=7, L=19
[1] od_D_KL Time: 2.5 Value: 159.232998 Efficiency: 0.601863
[1] od_D_KL Time: 3 Value: 159.232998 Efficiency: 0.601863
[1] od_D_KL Time: 4 Value: 159.232998 Efficiency: 0.601863
[1] od_D_KL finished after 5.02 seconds at 2026-07-11 02:22:10.700566
[1] with 1 restarts and 41 exchanges.
[1] Call of the function:
OptimalDesign::od_KL(Fx = design_matrix, N = n, crit = "D", K = 7,
L = 19, t.max = 5)
[1] Call of the function:
od_REX(Fx = Fx, crit = "D", track = FALSE)
[1] Running od_D_KL for cca 5 seconds starting at 2026-07-11 02:22:12.688744.
[1] The problem size is n=300000, m=3, N=20
[1] Setting K=7, L=19
[1] od_D_KL Time: 2 Value: 185.867358 Efficiency: 0.702535
[1] od_D_KL Time: 2 Value: 185.867358 Efficiency: 0.702535
[1] od_D_KL Time: 3 Value: 185.867358 Efficiency: 0.702535
[1] od_D_KL Time: 4 Value: 185.867358 Efficiency: 0.702535
[1] od_D_KL finished after 5.03 seconds at 2026-07-11 02:22:17.718212
[1] with 2 restarts and 43 exchanges.
[1] Call of the function:
OptimalDesign::od_KL(Fx = design_matrix, N = n, crit = "D", K = 7,
L = 19, t.max = 5)
[1] Call of the function:
od_REX(Fx = Fx, crit = "D", track = FALSE)
[1] Running od_D_KL for cca 5 seconds starting at 2026-07-11 02:22:19.493942.
[1] The problem size is n=300000, m=3, N=20
[1] Setting K=7, L=19
[1] od_D_KL Time: 2.1 Value: 185.867358 Efficiency: 0.702535
[1] od_D_KL Time: 3.1 Value: 185.867358 Efficiency: 0.702535
[1] od_D_KL Time: 4 Value: 185.867358 Efficiency: 0.702535
[1] od_D_KL finished after 5.02 seconds at 2026-07-11 02:22:24.514253
[1] with 1 restarts and 43 exchanges.
[1] Call of the function:
OptimalDesign::od_KL(Fx = design_matrix, N = n, crit = "D", K = 7,
L = 19, t.max = 5)
[1] Call of the function:
od_REX(Fx = Fx, crit = "D", track = FALSE)
[1] Running od_D_KL for cca 5 seconds starting at 2026-07-11 02:22:26.910946.
[1] The problem size is n=300000, m=3, N=20
[1] Setting K=7, L=19
[1] od_D_KL Time: 1.8 Value: 198.368169 Efficiency: 0.749785
[1] od_D_KL Time: 2 Value: 198.368169 Efficiency: 0.749785
[1] od_D_KL Time: 3 Value: 198.368169 Efficiency: 0.749785
[1] od_D_KL Time: 4.1 Value: 198.368169 Efficiency: 0.749785
[1] od_D_KL finished after 5.03 seconds at 2026-07-11 02:22:31.944093
[1] with 2 restarts and 61 exchanges.
[1] Call of the function:
OptimalDesign::od_KL(Fx = design_matrix, N = n, crit = "D", K = 7,
L = 19, t.max = 5)
[1] Call of the function:
od_REX(Fx = Fx, crit = "D", track = FALSE)
[1] Running od_D_KL for cca 5 seconds starting at 2026-07-11 02:22:34.106526.
[1] The problem size is n=300000, m=3, N=20
[1] Setting K=7, L=19
[1] od_D_KL Time: 2 Value: 198.368169 Efficiency: 0.749785
[1] od_D_KL Time: 2 Value: 198.368169 Efficiency: 0.749785
[1] od_D_KL Time: 3 Value: 198.368169 Efficiency: 0.749785
[1] od_D_KL Time: 4.1 Value: 198.368169 Efficiency: 0.749785
[1] od_D_KL finished after 5.02 seconds at 2026-07-11 02:22:39.132829
[1] with 1 restarts and 43 exchanges.
Saving _problems/test_generate_simulation_data-46.R
[1] Call of the function:
OptimalDesign::od_KL(Fx = design_matrix, N = n, crit = "D", K = 7,
L = 19, t.max = 5)
[1] Call of the function:
od_REX(Fx = Fx, crit = "D", track = FALSE)
[1] Running od_D_KL for cca 5 seconds starting at 2026-07-11 02:22:41.183755.
[1] The problem size is n=300000, m=3, N=20
[1] Setting K=7, L=19
[1] od_D_KL Time: 2 Value: 185.867358 Efficiency: 0.702535
[1] od_D_KL Time: 3.1 Value: 185.867358 Efficiency: 0.702535
[1] od_D_KL Time: 4 Value: 185.867358 Efficiency: 0.702535
[1] od_D_KL finished after 5.04 seconds at 2026-07-11 02:22:46.223978
[1] with 2 restarts and 48 exchanges.
[1] Call of the function:
OptimalDesign::od_KL(Fx = design_matrix, N = n, crit = "D", K = 7,
L = 19, t.max = 5)
[1] Call of the function:
od_REX(Fx = Fx, crit = "D", track = FALSE)
[1] Running od_D_KL for cca 5 seconds starting at 2026-07-11 02:22:48.44375.
[1] The problem size is n=300000, m=3, N=20
[1] Setting K=7, L=19
[1] od_D_KL Time: 2 Value: 185.867358 Efficiency: 0.702535
[1] od_D_KL Time: 2.1 Value: 185.867358 Efficiency: 0.702535
[1] od_D_KL Time: 3 Value: 185.867358 Efficiency: 0.702535
[1] od_D_KL Time: 4 Value: 185.867358 Efficiency: 0.702535
[1] od_D_KL finished after 5.03 seconds at 2026-07-11 02:22:53.474049
[1] with 2 restarts and 56 exchanges.
[ FAIL 1 | WARN 0 | SKIP 17 | PASS 140 ]
══ Skipped tests (17) ══════════════════════════════════════════════════════════
• On CRAN (17): 'test_compute_bscb_conjugate.R:373:3',
'test_compute_bscb_hmc.R:29:3', 'test_compute_bscb_hmc.R:52:3',
'test_compute_bscb_hmc.R:74:3', 'test_compute_bscb_hmc.R:92:3',
'test_compute_bscb_hmc.R:109:3', 'test_compute_bscb_hmc.R:127:3',
'test_compute_bscb_hmc.R:145:3', 'test_compute_bscb_hmc.R:162:3',
'test_compute_bscb_hmc.R:179:3', 'test_compute_bscb_hmc.R:197:3',
'test_compute_bscb_hmc.R:214:3', 'test_compute_bscb_hmc.R:233:3',
'test_compute_bscb_hmc.R:252:3', 'test_compute_bscb_hmc.R:304:3',
'test_coverage_bscb.R:172:3', 'test_coverage_bscb.R:202:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test_generate_simulation_data.R:46:3'): results are reproducible with same batch_index and same seed ──
Expected `sim1$Y.list` to be identical to `sim2$Y.list`.
Differences:
actual[[1]] vs expected[[1]]
[,1]
actual[[1]][4, ] 15.623926
actual[[1]][5, ] 15.272053
actual[[1]][6, ] 15.533853
- actual[[1]][7, ] -5.906518
+ expected[[1]][7, ] 15.343432
actual[[1]][8, ] -6.124319
actual[[1]][9, ] -5.673072
actual[[1]][10, ] -5.939421
- actual[[1]][11, ] -6.318793
+ expected[[1]][11, ] -6.318693
actual[[1]][12, ] -6.181542
actual[[1]][13, ] -6.124639
and 1 more ...
actual[[2]] vs expected[[2]]
[,1]
actual[[2]][4, ] 15.229630
actual[[2]][5, ] 15.214731
actual[[2]][6, ] 15.529962
- actual[[2]][7, ] -5.996960
+ expected[[2]][7, ] 15.252990
actual[[2]][8, ] -5.821764
actual[[2]][9, ] -5.889276
actual[[2]][10, ] -6.117609
- actual[[2]][11, ] -5.705255
+ expected[[2]][11, ] -5.705155
actual[[2]][12, ] -5.932803
actual[[2]][13, ] -6.316321
and 1 more ...
[ FAIL 1 | WARN 0 | SKIP 17 | PASS 140 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [115s/148s] OK
- checking PDF version of manual ... [8s/11s] OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR