- using R Under development (unstable) (2026-08-03 r90347 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-08-04 06:48:37 UTC
- checking for file 'EBcoBART/DESCRIPTION' ... OK
- this is package 'EBcoBART' version '1.1.2'
- 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 'EBcoBART' can be installed ... OK
See the install log for details.
- checking installed package size ... OK
- checking package 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] OK
- checking whether the package can be loaded with stated dependencies ... [0s] OK
- checking whether the package can be unloaded cleanly ... [0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s] OK
- checking loading without being on the library search path ... [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 ... [3s] OK
- checking Rd files ... [0s] 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 contents of 'data' directory ... OK
- checking data for non-ASCII characters ... [0s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking examples ... [1s] ERROR
Running examples in 'EBcoBART-Ex.R' failed
The error most likely occurred in:
> ### Name: EBcoBART
> ### Title: Learning prior covariate weights for BART models with empirical
> ### Bayes and co-data.
> ### Aliases: EBcoBART
>
> ### ** Examples
>
> ###################################
> ### Binary response example ######
> ###################################
> # For continuous response example, see README.
> # Use data set provided in R package
> # We set EB = T indicating that we also estimate
> # tree structure prior parameter alpha
> # and leaf node prior parameter k
>
> data("Lymphoma")
> Xtr <- as.matrix(Lymphoma$Xtrain) # Xtr should be matrix object
> Ytr <- Lymphoma$Ytrain
> Xte <- as.matrix(Lymphoma$Xtest) # Xte should be matrix object
> Yte <- Lymphoma$Ytest
> CoDat <- Lymphoma$CoData
> CoDat <- stats::model.matrix(~., CoDat) # encode grouping by dummies
> #(include intercept)
>
> set.seed(4) # for reproducible results
> Fit <- EBcoBART(Y = Ytr, X = Xtr, CoData = CoDat,
+ nIter = 2, # Low! Only for illustration
+ model = "binary",
+ EB_k = TRUE, EB_alpha = TRUE,
+ EB_sigma = FALSE,
+ verbose = TRUE,
+ ntree = 5, # Low! Only for illustration
+ nchain = 3,
+ nskip = 500, # Low! Only for illustration
+ ndpost = 500, # Low! Only for illustration
+ Prob_Init = rep(1/ncol(Xtr), ncol(Xtr)),
+ k = 2, alpha = .95, beta = 2)
EM iteration 1Error in parse(text = deparse(RNGkind)[-1L]) :
<text>:1:22: unexpected ')'
1: binom.kind = NULL)
^
Calls: EBcoBART ... validObject -> anyStrings -> isTRUE -> validityMethod -> parse
Execution halted
- checking PDF version of manual ... [19s] OK
- checking HTML version of manual ... [1s] OK
- DONE
Status: 1 ERROR