* using log directory 'd:/Rcompile/CRANpkg/local/4.4/geos.Rcheck' * using R version 4.4.3 (2025-02-28 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.3.0 GNU Fortran (GCC) 13.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'geos/DESCRIPTION' ... OK * this is package 'geos' version '0.2.5' * 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 'geos' can be installed ... OK * used C compiler: 'gcc.exe (GCC) 13.3.0' * used C++ compiler: 'g++.exe (GCC) 13.3.0' * 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 ... [7s] OK * checking whether the package can be loaded with stated dependencies ... [8s] OK * checking whether the package can be unloaded cleanly ... [8s] OK * checking whether the namespace can be loaded with stated dependencies ... [8s] OK * checking whether the namespace can be unloaded cleanly ... [8s] OK * checking loading without being on the library search path ... [1s] OK * checking whether startup messages can be suppressed ... [8s] 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 ... [23s] 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 line endings in C/C++/Fortran sources/headers ... OK * checking pragmas in C/C++ headers and code ... OK * checking compiled code ... OK * checking examples ... [8s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [13s] ERROR Running 'testthat.R' [13s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(geos) > > test_check("geos") Saving _problems/test-compat-terra-57.R Saving _problems/test-compat-terra-89.R [ FAIL 2 | WARN 7 | SKIP 2 | PASS 601 ] ══ Skipped tests (2) ═══════════════════════════════════════════════════════════ • empty test (1): 'test-geos-join.R:2:1' • identical(Sys.getenv("R_GEOS_TEST_WITH_KNOWN_LEAKS"), "true") is not TRUE (1): 'test-geos-unary-geometry.R:612:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-compat-terra.R:54:3'): conversion from terra propagates CRS ── Expected `terra::crs(polygon, describe = TRUE)$name` to be identical to `wk::wk_crs(polygon_geos)$input`. Differences: `actual` is a character vector ('unknown') `expected` is NULL ── Error ('test-compat-terra.R:89:3'): conversion to terra works ─────────────── Error in `if (is.null(x) || is.na(x)) { x <- "" } else if (inherits(x, "CRS")) { if (warn) warn("crs", "expected a character string, not a CRS object") y <- attr(x, "comment") if (is.null(y)) { y <- x@projargs if (is.na(y)) y <- "" } x <- y } else if (is.character(x)) { x <- x[1] lowx <- tolower(x) if (lowx == "local") { x = "LOCAL_CS[\"Cartesian (Meter)\", LOCAL_DATUM[\"Local Datum\",0], UNIT[\"Meter\",1.0], AXIS[\"X\",EAST], AXIS[\"Y\",NORTH]]" } else if (lowx == "lonlat") { x <- "+proj=longlat" } } else { error("crs", "I do not know what to do with this argument (expected a character string)") }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─terra::vect(as_geos_geometry(pv)) at test-compat-terra.R:89:3 2. └─terra::vect(as_geos_geometry(pv)) 3. └─geos (local) .local(x, ...) 4. ├─terra::vect(geos::geos_write_wkt(x), crs = crs) 5. └─terra::vect(geos::geos_write_wkt(x), crs = crs) 6. └─terra (local) .local(x, ...) 7. ├─terra::`crs<-`(`*tmp*`, warn = FALSE, value = crs) 8. └─terra::`crs<-`(`*tmp*`, warn = FALSE, value = crs) 9. └─terra (local) .local(x, ..., value = value) 10. └─terra:::.txtCRS(value) [ FAIL 2 | WARN 7 | SKIP 2 | PASS 601 ] Error: ! Test failures. Execution halted * checking PDF version of manual ... [17s] OK * checking HTML version of manual ... [5s] OK * DONE Status: 1 ERROR