- using R version 4.6.1 (2026-06-24)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-16 (Debian 16.2.0-1) 16.2.0
GNU Fortran (Debian 16.2.0-1) 16.2.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
* current time: 2026-08-22 21:16:15 UTC
- checking for file ‘stan4bart/DESCRIPTION’ ... OK
- this is package ‘stan4bart’ version ‘0.0-12’
- 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 ‘stan4bart’ can be installed ... OK
See the install log for details.
- used C compiler: ‘gcc-16 (Debian 16.2.0-1) 16.2.0’
- used C++ compiler: ‘g++-16 (Debian 16.2.0-1) 16.2.0’
- checking C++ specification ... INFO
specified C++17
- checking package directory ... OK
- checking for future file timestamps ... 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/2s] OK
- checking whether the package can be loaded with stated dependencies ... [2s/2s] OK
- checking whether the package can be unloaded cleanly ... [2s/2s] OK
- checking whether the namespace can be loaded with stated dependencies ... [2s/2s] OK
- checking whether the namespace can be unloaded cleanly ... [2s/3s] OK
- checking loading without being on the library search path ... [2s/2s] 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 ... [21s/28s] 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 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 examples ... [3s/3s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [10s/27s] ERROR
Running ‘testthat.R’ [9s/27s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> Sys.unsetenv("R_TESTS")
> if (require(testthat, quietly = TRUE)) {
+ require(stan4bart)
+ test_check("stan4bart")
+ } else {
+ cat("package 'testthat' not available; cannot run unit tests\n")
+ }
Loading required package: stan4bart
Loading required package: dbarts
Saving _problems/test-07-extractedTrees-31.R
Saving _problems/test-07-extractedTrees-38.R
[ FAIL 2 | WARN 0 | SKIP 4 | PASS 204 ]
══ Skipped tests (4) ═══════════════════════════════════════════════════════════
• On CRAN (4): 'test-01-continuous.R:124:3', 'test-01-continuous.R:163:3',
'test-02-binary.R:33:3', 'test-02-binary.R:128:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-07-extractedTrees.R:30:3'): stan4bart extracts trees correctly ──
Expected `all(...)` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
── Failure ('test-07-extractedTrees.R:38:3'): stan4bart extracts trees correctly ──
Expected `allTrees` to equal `individualSamples`.
Differences:
Attributes: < Component "row.names": Lengths (11, 44) differ (string compare on first 11) >
Component "sample": Numeric: lengths (11, 44) differ
Component "tree": Numeric: lengths (11, 44) differ
Component "n": Numeric: lengths (11, 44) differ
Component "var": Numeric: lengths (11, 44) differ
Component "value": Numeric: lengths (11, 44) differ
[ FAIL 2 | WARN 0 | SKIP 4 | PASS 204 ]
Error:
! Test failures.
Execution halted
- checking PDF version of manual ... [6s/9s] OK
- checking HTML version of manual ... [2s/2s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR