* using log directory 'd:/Rcompile/CRANpkg/local/4.6/VicmapR.Rcheck' * using R Under development (unstable) (2025-04-16 r88149 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.2.0 GNU Fortran (GCC) 14.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'VicmapR/DESCRIPTION' ... OK * this is package 'VicmapR' version '0.2.3' * 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 'VicmapR' can be installed ... OK * checking installed package size ... OK * 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 ... [2s] OK * checking whether the package can be loaded with stated dependencies ... [1s] OK * checking whether the package can be unloaded cleanly ... [1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s] OK * checking whether the namespace can be unloaded cleanly ... [1s] OK * checking loading without being on the library search path ... [2s] 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 ... [5s] OK * checking Rd files ... [1s] NOTE checkRd: (-1) show_query.Rd:27: Lost braces in \itemize; meant \describe ? checkRd: (-1) show_query.Rd:28: Lost braces in \itemize; meant \describe ? checkRd: (-1) show_query.Rd:29: Lost braces in \itemize; meant \describe ? * 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 contents of 'data' directory ... OK * checking data for non-ASCII characters ... [0s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [3s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [12s] ERROR Running 'testthat.R' [11s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(VicmapR) Attaching package: 'VicmapR' The following object is masked from 'package:stats': filter > > test_check("VicmapR") Reading layer `melbourne' from data source `D:\RCompile\CRANpkg\lib\4.6\VicmapR\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 ── `VicmapR:::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. ├─VicmapR:::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 * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [32s] OK * checking PDF version of manual ... [28s] OK * checking HTML version of manual ... [3s] OK * DONE Status: 1 ERROR, 1 NOTE