* using log directory ‘/home/hornik/tmp/CRAN_pretest/banter.Rcheck’ * using R Under development (unstable) (2026-10-06 r90643) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 23.1.0 (2) Debian flang version 23.1.0 (2) * running under: Debian GNU/Linux forky/sid * using session charset: UTF-8 * current time: 2026-10-08 05:40:09 UTC * checking for file ‘banter/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘banter’ version ‘0.9.81’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [4s/5s] OK * 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 ‘banter’ can be installed ... [2s/2s] OK * 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 ... [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 whether startup messages can be suppressed ... [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 ... [3s/3s] 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 data for ASCII and uncompressed saves ... OK * checking examples ... [8s/8s] ERROR Running examples in ‘banter-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: runBanterModel > ### Title: Run BANTER Model > ### Aliases: runBanterModel > > ### ** Examples > > data(train.data) > # initialize BANTER model with event data > bant.mdl <- initBanterModel(train.data$events) > # add all detector models > bant.mdl <- addBanterDetector( + bant.mdl, train.data$detectors, + ntree = 50, sampsize = 1, num.cores = 1 + ) > # run BANTER event model > bant.mdl <- runBanterModel(bant.mdl, ntree = 1000, sampsize = 1) Warning: Event model: sampsize = 1 is >= species frequencies: G.macrorhynchus: 1 O.orcinus: 1 These species will be used in the model: D.capensis: 7 D.delphis: 115 G.griseus: 5 L.obliquidens: 10 S.coeruleoalba: 13 > summary(bant.mdl) Model run times: start stop run.time bp "2026-10-08 07:40:37" "2026-10-08 07:40:37" "0.09 secs" dw "2026-10-08 07:40:37" "2026-10-08 07:40:37" "0.11 secs" ec "2026-10-08 07:40:37" "2026-10-08 07:40:38" "0.08 secs" event "2026-10-08 07:40:38" "2026-10-08 07:40:38" "0.27 secs" Number of events and model classification rate: species num.events bp dw ec event 1 D.capensis 7 13.43 10.86 29.429 85.71 2 D.delphis 116 27.89 12.01 4.466 42.61 3 G.griseus 5 34.62 83.50 8.800 80.00 4 G.macrorhynchus 1 34.00 20.00 14.000 NA 5 L.obliquidens 10 18.57 12.09 23.200 20.00 6 O.orcinus 1 NA 50.00 40.000 NA 7 S.coeruleoalba 13 27.61 28.60 27.077 84.62 8 Overall 153 26.95 14.36 9.232 48.00 << Summary for "event" model >> Number of trees: 1000 Sample sizes: D.capensis D.delphis G.griseus L.obliquidens S.coeruleoalba 1 1 1 1 1 Distribution of percent correctly classified overall in last 500 (50%) trees: Min. 1st Qu. Median Mean 3rd Qu. Max. 48.00 49.33 50.00 49.76 50.00 52.00 Sample inbag proportion distribution: Min. 1st Qu. Median Mean 3rd Qu. Max. expected 0.9 7.7 10.0 10.6 14.3 20.0 observed 0.3 0.7 0.9 3.3 1.8 21.9 Confusion matrix: D.capensis D.delphis G.griseus L.obliquidens S.coeruleoalba D.capensis 6 1 0 0 0 D.delphis 58 49 1 0 7 G.griseus 0 0 4 1 0 L.obliquidens 0 2 5 2 1 S.coeruleoalba 2 0 0 0 11 Overall NA NA NA NA NA pct.correct LCI_0.95 UCI_0.95 D.capensis 85.71429 42.127680 99.63897 D.delphis 42.60870 33.435135 52.17235 G.griseus 80.00000 28.358206 99.49492 L.obliquidens 20.00000 2.521073 55.60955 S.coeruleoalba 84.61538 54.552894 98.07933 Overall 48.00000 39.782317 56.29824 Error in `gtable_add_grob()`: ! `grobs` must be a single grob or a list of grobs, not a list. Backtrace: ▆ 1. ├─base::summary(bant.mdl) 2. └─banter::summary(bant.mdl) 3. └─banter (local) .local(object, ...) 4. ├─base::suppressWarnings(...) 5. │ └─base::withCallingHandlers(...) 6. └─gridExtra::grid.arrange(trace, inbag, nrow = 2) 7. └─gridExtra::arrangeGrob(...) 8. └─gtable::gtable_add_grob(grobs = grobs) 9. └─gtable:::stop_input_type(grobs, "a single grob or a list of grobs") 10. └─rlang::abort(message, ..., call = call, arg = arg) Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [2s/2s] OK Running ‘testthat.R’ [2s/2s] * checking PDF version of manual ... [3s/3s] OK * checking HTML version of manual ... [0s/0s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR