- using R Under development (unstable) (2026-10-10 r90659)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc (GCC) 16.2.1 20260819 (Red Hat 16.2.1-2)
GNU Fortran (GCC) 16.2.1 20260819 (Red Hat 16.2.1-2)
- running under: Fedora Linux 44 (Server Edition)
- using session charset: UTF-8
* current time: 2026-10-11 11:50:28 UTC
- using option ‘--no-stop-on-test-error’
- checking for file ‘banter/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘banter’ version ‘0.9.8’
- 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 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 ... OK
See the install log for details.
- 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 ... 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 whether startup messages can be suppressed ... 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 ... 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 contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking examples ... [12s/13s] ERROR
Running examples in ‘banter-Ex.R’ failed
The error most likely occurred in:
> ### 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-11 12:51:02" "2026-10-11 12:51:02" "0.18 secs"
dw "2026-10-11 12:51:02" "2026-10-11 12:51:02" "0.25 secs"
ec "2026-10-11 12:51:02" "2026-10-11 12:51:03" "0.12 secs"
event "2026-10-11 12:51:03" "2026-10-11 12:51:03" "0.49 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:
n D.capensis D.delphis G.griseus L.obliquidens S.coeruleoalba
D.capensis 7 6 1 0 0 0
D.delphis 115 58 49 1 0 7
G.griseus 5 0 0 4 1 0
L.obliquidens 10 0 2 5 2 1
S.coeruleoalba 13 2 0 0 0 11
Overall 150 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
Percent inbag summary:
D.capensis D.delphis G.griseus L.obliquidens S.coeruleoalba
expected 14.285714 0.8695652 20.000000 10.000000 7.6923077
mean 14.285714 0.8695652 20.000000 10.000000 7.6923077
median 14.600000 0.8000000 20.200000 9.900000 7.5000000
mode 14.646743 0.7975137 21.238709 9.902653 7.2550490
min 10.900000 0.3000000 17.500000 8.300000 6.5000000
max 16.500000 1.9000000 21.900000 12.500000 10.0000000
sd 1.760141 0.3209563 1.942936 1.087300 0.9268779
ci.lower 11.290000 0.4850000 17.610000 8.525000 6.6200000
ci.upper 16.335000 1.7150000 21.890000 12.095000 9.5800000
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 ... OK
Running ‘testthat.R’
- checking PDF version of manual ... 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