R Under development (unstable) (2025-05-23 r88232 ucrt) -- "Unsuffered Consequences" Copyright (C) 2025 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(testthat) > library(vicspatial) In May 2025 (version 0.3.0) `VicmapR` was renamed to `vicspatial`. Unfortunately this change has been requested by the trademark holders of `VICMAP` (Department of Transport and Planning). While redirections should be in place for GitHub and CRAN websites, please check existing code for explicit mentions of `VicmapR`. Attaching package: 'vicspatial' The following object is masked from 'package:stats': filter > > test_check("vicspatial") Reading layer `melbourne' from data source `D:\RCompile\CRANincoming\R-devel\lib\vicspatial\shapes\melbourne.geojson' using driver `GeoJSON' Simple feature collection with 1 feature and 8 fields Geometry type: MULTIPOLYGON Dimension: XY Bounding box: xmin: 144.897 ymin: -37.85066 xmax: 144.9913 ymax: -37.77545 Geodetic CRS: WGS 84 [ FAIL 1 | WARN 0 | SKIP 18 | PASS 33 ] ══ Skipped tests (18) ══════════════════════════════════════════════════════════ • On CRAN (18): 'test-build-query.R:16:3', 'test-build-query.R:42:3', 'test-build-query.R:50:3', 'test-build-query.R:62:3', 'test-build-query.R:82:3', 'test-check_geoserver.R:16:3', 'test-citation.R:16:3', 'test-citation.R:34:3', 'test-citation.R:44:3', 'test-convert-layer-names.R:17:3', 'test-convert-layer-names.R:37:3', 'test-convert-layer-names.R:55:3', 'test-cql-predicates.R:92:3', 'test-filter.R:16:3', 'test-filter.R:26:3', 'test-filter.R:35:3', 'test-listLayers.R:16:3', 'test-utils-metadata.R:16:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-cql-predicates.R:29:3'): vicmap_cql_string fails when used on an uncollected (promise) object ── `vicspatial:::vicmap_cql_string(structure(list, class = "vicmap_promise"))` threw an error with unexpected message. Expected match: "you need to use collect" Actual message: "cannot set an attribute on a 'builtin'" Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-cql-predicates.R:29:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─vicspatial:::vicmap_cql_string(structure(list, class = "vicmap_promise")) 7. └─base::structure(list, class = "vicmap_promise") [ FAIL 1 | WARN 0 | SKIP 18 | PASS 33 ] Error: Test failures Execution halted