- 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 17:28:45 UTC
- checking for file 'glossa/DESCRIPTION' ... OK
- checking extension type ... Package
- this is package 'glossa' version '1.2.4'
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... INFO
Package suggested but not available for checking: 'flexsdm'
- 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 'glossa' 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 ... [3s] OK
- checking whether the namespace can be unloaded cleanly ... [4s] OK
- checking loading without being on the library search path ... [4s] 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 ... [14s] 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 examples ... [5s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [18s] ERROR
Running 'testthat.R' [18s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(glossa)
Loading required package: bs4Dash
Attaching package: 'bs4Dash'
The following object is masked from 'package:graphics':
box
Loading required package: shiny
Attaching package: 'shiny'
The following objects are masked from 'package:bs4Dash':
actionButton, column, insertTab, navbarMenu, tabsetPanel
> library(terra)
terra 1.9.34
Attaching package: 'terra'
The following objects are masked from 'package:testthat':
compare, describe
> library(sf)
Linking to GEOS 3.14.1, GDAL 3.12.1, PROJ 9.7.1; sf_use_s2() is TRUE
>
> test_check("glossa")
|
| | 0%
|
|= | 2%
|
|=== | 4%
|
|==== | 6%
|
|====== | 8%
|
|======= | 10%
|
|======== | 12%
|
|========== | 14%
|
|=========== | 16%
|
|============= | 18%
|
|============== | 20%
|
|=============== | 22%
|
|================= | 24%
|
|================== | 26%
|
|==================== | 28%
|
|===================== | 30%
|
|====================== | 32%
|
|======================== | 34%
|
|========================= | 36%
|
|=========================== | 38%
|
|============================ | 40%
|
|============================= | 42%
|
|=============================== | 44%
|
|================================ | 46%
|
|================================== | 48%
|
|=================================== | 50%
|
|==================================== | 52%
|
|====================================== | 54%
|
|======================================= | 56%
|
|========================================= | 58%
|
|========================================== | 60%
|
|=========================================== | 62%
|
|============================================= | 64%
|
|============================================== | 66%
|
|================================================ | 68%
|
|================================================= | 70%
|
|================================================== | 72%
|
|==================================================== | 74%
|
|===================================================== | 76%
|
|======================================================= | 78%
|
|======================================================== | 80%
|
|========================================================= | 82%
|
|=========================================================== | 84%
|
|============================================================ | 86%
|
|============================================================== | 88%
|
|=============================================================== | 90%
|
|================================================================ | 92%
|
|================================================================== | 94%
|
|=================================================================== | 96%
|
|===================================================================== | 98%
|
|======================================================================| 100%
train_0 train_1 test_0 test_1
1 4 3 15 28
2 15 28 4 3
Spherical geometry (s2) switched off
Spherical geometry (s2) switched on
|
| | 0%
|
|= | 2%
|
|=== | 4%
|
|==== | 6%
|
|====== | 8%
|
|======= | 10%
|
|======== | 12%
|
|========== | 14%
|
|=========== | 16%
|
|============= | 18%
|
|============== | 20%
|
|=============== | 22%
|
|================= | 24%
|
|================== | 26%
|
|==================== | 28%
|
|===================== | 30%
|
|====================== | 32%
|
|======================== | 34%
|
|========================= | 36%
|
|=========================== | 38%
|
|============================ | 40%
|
|============================= | 42%
|
|=============================== | 44%
|
|================================ | 46%
|
|================================== | 48%
|
|=================================== | 50%
|
|==================================== | 52%
|
|====================================== | 54%
|
|======================================= | 56%
|
|========================================= | 58%
|
|========================================== | 60%
|
|=========================================== | 62%
|
|============================================= | 64%
|
|============================================== | 66%
|
|================================================ | 68%
|
|================================================= | 70%
|
|================================================== | 72%
|
|==================================================== | 74%
|
|===================================================== | 76%
|
|======================================================= | 78%
|
|======================================================== | 80%
|
|========================================================= | 82%
|
|=========================================================== | 84%
|
|============================================================ | 86%
|
|============================================================== | 88%
|
|=============================================================== | 90%
|
|================================================================ | 92%
|
|================================================================== | 94%
|
|=================================================================== | 96%
|
|===================================================================== | 98%
|
|======================================================================| 100%
train_0 train_1 test_0 test_1
1 9 16 10 15
2 10 15 9 16
Spherical geometry (s2) switched off
Spherical geometry (s2) switched on
Spherical geometry (s2) switched off
Spherical geometry (s2) switched on
|
| | 0%
|
|= | 2%
|
|=== | 4%
|
|==== | 6%
|
|====== | 8%
|
|======= | 10%
|
|======== | 12%
|
|========== | 14%
|
|=========== | 16%
|
|============= | 18%
|
|============== | 20%
|
|=============== | 22%
|
|================= | 24%
|
|================== | 26%
|
|==================== | 28%
|
|===================== | 30%
|
|====================== | 32%
|
|======================== | 34%
|
|========================= | 36%
|
|=========================== | 38%
|
|============================ | 40%
|
|============================= | 42%
|
|=============================== | 44%
|
|================================ | 46%
|
|================================== | 48%
|
|=================================== | 50%
|
|==================================== | 52%
|
|====================================== | 54%
|
|======================================= | 56%
|
|========================================= | 58%
|
|========================================== | 60%
|
|=========================================== | 62%
|
|============================================= | 64%
|
|============================================== | 66%
|
|================================================ | 68%
|
|================================================= | 70%
|
|================================================== | 72%
|
|==================================================== | 74%
|
|===================================================== | 76%
|
|======================================================= | 78%
|
|======================================================== | 80%
|
|========================================================= | 82%
|
|=========================================================== | 84%
|
|============================================================ | 86%
|
|============================================================== | 88%
|
|=============================================================== | 90%
|
|================================================================ | 92%
|
|================================================================== | 94%
|
|=================================================================== | 96%
|
|===================================================================== | 98%
|
|======================================================================| 100%
train_0 train_1 test_0 test_1
1 9 11 5 5
2 9 10 5 6
3 10 11 4 5
Spherical geometry (s2) switched off
Spherical geometry (s2) switched on
Spherical geometry (s2) switched off
Spherical geometry (s2) switched on
Saving _problems/test-cross_validate_model-118.R
Saving _problems/test-cross_validate_model-158.R
dist is assumed to be in decimal degrees (arc_degrees).
dist is assumed to be in decimal degrees (arc_degrees).
although coordinates are longitude/latitude, st_difference assumes that they
are planar
although coordinates are longitude/latitude, st_difference assumes that they
are planar
Running thinning with method 'precision' and thinning value 1
Running thinning with method 'precision' and thinning value 1
Running thinning with method 'distance' and thinning value 5e+05
Running thinning with method 'grid' and thinning value 0.05
Running thinning with method 'precision' and thinning value 3
[ FAIL 2 | WARN 0 | SKIP 12 | PASS 85 ]
══ Skipped tests (12) ══════════════════════════════════════════════════════════
• On CRAN (11): 'test-glossa_analysis.R:5:3', 'test-process_layers.R:5:3',
'test-process_polygon.R:5:3', 'test-read_validate_files.R:5:3',
'test-read_validate_files.R:18:3', 'test-read_validate_files.R:30:3',
'test-read_validate_files.R:42:3', 'test-read_validate_files.R:54:3',
'test-read_validate_files.R:78:3', 'test-read_validate_files.R:104:3',
'test-utils.R:4:3'
• {flexsdm} is not installed (1): 'test-generate_pseudo_absences.R:98:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-cross_validate_model.R:118:3'): cross_validate_model runs ──────
Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
1: binom.kind = NULL)
^
Backtrace:
▆
1. └─glossa::cross_validate_model(...) at test-cross_validate_model.R:118:3
2. └─glossa::fit_bart_model(...)
3. └─dbarts::bart(...)
4. └─dbarts::dbartsControl(...)
5. └─methods::new(...)
6. ├─methods::initialize(value, ...)
7. └─dbarts (local) initialize(value, ...)
8. ├─methods::callNextMethod()
9. └─methods (local) .nextMethod(.Object = .Object, ... = ...)
10. └─methods::validObject(.Object)
11. ├─methods (local) anyStrings(validityMethod(object))
12. │ └─base::isTRUE(x)
13. └─dbarts (local) validityMethod(object)
14. └─base::parse(text = deparse(RNGkind)[-1L])
── Error ('test-cross_validate_model.R:158:3'): cross_validate_model is reproducible with seed ──
Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
1: binom.kind = NULL)
^
Backtrace:
▆
1. └─glossa::cross_validate_model(...) at test-cross_validate_model.R:158:3
2. └─glossa::fit_bart_model(...)
3. └─dbarts::bart(...)
4. └─dbarts::dbartsControl(...)
5. └─methods::new(...)
6. ├─methods::initialize(value, ...)
7. └─dbarts (local) initialize(value, ...)
8. ├─methods::callNextMethod()
9. └─methods (local) .nextMethod(.Object = .Object, ... = ...)
10. └─methods::validObject(.Object)
11. ├─methods (local) anyStrings(validityMethod(object))
12. │ └─base::isTRUE(x)
13. └─dbarts (local) validityMethod(object)
14. └─base::parse(text = deparse(RNGkind)[-1L])
[ FAIL 2 | WARN 0 | SKIP 12 | PASS 85 ]
Error:
! Test failures.
Execution halted
- checking PDF version of manual ... [21s] OK
- checking HTML version of manual ... [2s] OK
- DONE
Status: 1 ERROR