CRAN Package Check Results for Package geos

Last updated on 2025-12-23 07:49:08 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.4 11.58 42.27 53.85 OK
r-devel-linux-x86_64-debian-gcc 0.2.5 9.39 128.62 138.01 OK
r-devel-linux-x86_64-fedora-clang 0.2.5 18.00 241.88 259.88 OK
r-devel-linux-x86_64-fedora-gcc 0.2.5 20.00 311.80 331.80 OK
r-devel-windows-x86_64 0.2.5 41.00 193.00 234.00 OK
r-patched-linux-x86_64 0.2.4 12.75 37.90 50.65 OK
r-release-linux-x86_64 0.2.4 12.01 37.66 49.67 OK
r-release-macos-arm64 0.2.5 5.00 40.00 45.00 OK
r-release-macos-x86_64 0.2.5 18.00 180.00 198.00 OK
r-release-windows-x86_64 0.2.4 22.00 76.00 98.00 OK
r-oldrel-macos-arm64 0.2.5 5.00 42.00 47.00 OK
r-oldrel-macos-x86_64 0.2.5 19.00 236.00 255.00 OK
r-oldrel-windows-x86_64 0.2.5 26.00 265.00 291.00 ERROR

Check Details

Version: 0.2.5
Check: tests
Result: ERROR Running 'testthat.R' [18s] 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 Flavor: r-oldrel-windows-x86_64