- using R Under development (unstable) (2026-08-10 r90389 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-11 12:59:18 UTC
- checking for file 'bartMan/DESCRIPTION' ... OK
- checking extension type ... Package
- this is package 'bartMan' version '0.2.1'
- 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 'bartMan' 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 ... [4s] OK
- checking whether the package can be loaded with stated dependencies ... [4s] OK
- checking whether the package can be unloaded cleanly ... [4s] OK
- checking whether the namespace can be loaded with stated dependencies ... [5s] OK
- checking whether the namespace can be unloaded cleanly ... [5s] OK
- checking loading without being on the library search path ... [5s] 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 ... [20s] 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 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 ... [5s] ERROR
Running examples in 'bartMan-Ex.R' failed
The error most likely occurred in:
> ### Name: acceptRate
> ### Title: acceptRate
> ### Aliases: acceptRate
>
> ### ** Examples
>
> if(requireNamespace("dbarts", quietly = TRUE)){
+ # Load the dbarts package to access the bart function
+ library(dbarts)
+ # Get Data
+ df <- na.omit(airquality)
+ # Create Simple dbarts Model For Regression:
+ set.seed(1701)
+ dbartModel <- bart(df[2:6], df[,1], ntree = 5, keeptrees = TRUE, nskip = 10, ndpost = 10)
+ # Tree Data
+ trees_data <- extractTreeData(model = dbartModel, data = df)
+ acceptRate(trees = trees_data)}
Error in parse(text = deparse(RNGkind)[-1L]) :
<text>:1:22: unexpected ')'
1: binom.kind = NULL)
^
Calls: bart ... validObject -> anyStrings -> isTRUE -> validityMethod -> parse
Execution halted
- checking PDF version of manual ... [20s] OK
- checking HTML version of manual ... [2s] OK
- DONE
Status: 1 ERROR