* using log directory ‘/data/localhost/ripley/R/packages/tests-devel/spatialkit.Rcheck’ * using R Under development (unstable) (2026-09-16 r90541) * 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-09-16 10:10:06 UTC * using option ‘--no-stop-on-test-error’ * checking for file ‘spatialkit/DESCRIPTION’ ... OK * this is package ‘spatialkit’ version ‘2.0.0’ * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... INFO Package suggested but not available for checking: 'cmdstanr' * 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 ‘spatialkit’ can be installed ... [10s/23s] OK See 'https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-fedora-gcc/spatialkit-00install.html' for details. * checking package directory ... OK * checking ‘build’ 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 ... [22s/51s] 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 installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [11s/26s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [90m/52m] ERROR Running ‘testthat.R’ [90m/52m] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(spatialkit) > > test_check("spatialkit") WARN [2026-09-16 11:12:52] area_of_applicability(): dropping predictor(s) with no variance in the training data: const. A prediction point taking a different value there is extrapolation the dissimilarity index cannot represent. WARN [2026-09-16 11:12:52] area_of_applicability(): dropping 1 training row(s) with missing or non-finite predictor values. WARN [2026-09-16 11:12:54] fit_rf_model(): include_coords = TRUE. A forest given the coordinates can reproduce the training surface by memorising location and then fail wherever it has not been; random cross-validation will not detect this. Score the result with cv_rf() and blocked folds, not with the out-of-bag error (Meyer et al. 2019). WARN [2026-09-16 11:12:55] fit_rf_model(): include_coords = TRUE. A forest given the coordinates can reproduce the training surface by memorising location and then fail wherever it has not been; random cross-validation will not detect this. Score the result with cv_rf() and blocked folds, not with the out-of-bag error (Meyer et al. 2019). WARN [2026-09-16 11:12:57] prep_model_data(): dropping 1 row(s) with non-finite or missing values (1 of them with an empty or non-finite geometry). WARN [2026-09-16 11:12:57] prep_model_data(): dropping 1 row(s) with non-finite or missing values (1 of them with an empty or non-finite geometry). WARN [2026-09-16 11:12:58] .pick_local_projected_crs(): extent reaches 11.0 deg from the central meridian of UTM zone 19 (20.0 deg of longitude in total); the zone is kept, because on this extent every equal-area candidate distorts distances more than it does (6.75% vs 1.30% worst-case over sampled pairs). Pass target_crs to ensure_projected() to override. WARN [2026-09-16 11:12:58] .pick_local_projected_crs(): the bounding box spans 359.0 deg of longitude, but the coordinates straddle the antimeridian: the true extent is 1.0 deg. Using an equal-area projection centred on lon_0=-180.0. (EPSG:3857 would have split the layer in two.) WARN [2026-09-16 11:12:58] spatialkit(): `input` has no CRS; its coordinates look like lon/lat (xmin=9.10, xmax=9.20, ymin=48.70, ymax=48.75), so they are taken as EPSG:4326 and reprojected to the target CRS. Set the CRS explicitly with sf::st_crs() to suppress this. WARN [2026-09-16 11:12:58] ensure_projected(): input has no CRS; its coordinates look like lon/lat (xmin=9.10, xmax=9.20, ymin=48.70, ymax=48.75), so they are taken as EPSG:4326 and reprojected to the target CRS ('EPSG:32632'). Set the CRS explicitly to suppress this. WARN [2026-09-16 11:12:58] spatialkit(): `input` has no CRS and its coordinates do not look like lon/lat, so it cannot be reprojected; stamping the supplied `crs` WITHOUT reprojection. Verify the coordinates are already expressed in that CRS, or set the input CRS with sf::st_crs(). WARN [2026-09-16 11:12:58] harmonize_crs(): `a` has no CRS; its coordinates look like lon/lat (xmin=9.10, xmax=9.15, ymin=48.70, ymax=48.75), so they are taken as EPSG:4326 and reprojected to 'EPSG:32632'. Set the CRS explicitly with sf::st_crs() to suppress this. WARN [2026-09-16 11:12:58] ensure_projected(): input has no CRS; its coordinates look like lon/lat (xmin=9.10, xmax=9.15, ymin=48.70, ymax=48.75), so they are taken as EPSG:4326 and reprojected to the target CRS ('EPSG:32632'). Set the CRS explicitly to suppress this. WARN [2026-09-16 11:12:58] fit_rf_model(): include_coords = TRUE. A forest given the coordinates can reproduce the training surface by memorising location and then fail wherever it has not been; random cross-validation will not detect this. Score the result with cv_rf() and blocked folds, not with the out-of-bag error (Meyer et al. 2019). WARN [2026-09-16 11:12:59] make_folds(): dropping 1 point(s) with empty or non-finite coordinates. WARN [2026-09-16 11:12:59] prep_model_data(): dropping 1 row(s) with non-finite or missing values (1 of them with an empty or non-finite geometry). * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [22s/23s] OK * 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