- using R Under development (unstable) (2025-03-28 r88067)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-14 (Debian 14.2.0-19) 14.2.0
GNU Fortran (Debian 14.2.0-19) 14.2.0
- running under: Debian GNU/Linux trixie/sid
- 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 executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking serialization versions ... OK
- checking whether package ‘VicmapR’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... 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 ... [1s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the package can be unloaded cleanly ... [1s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
- checking loading without being on the library search path ... [1s/1s] 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 ... [7s/9s] OK
- checking Rd files ... [0s/0s] 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 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 contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... [0s/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 ... [1s/1s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [5s/11s] ERROR
Running ‘testthat.R’ [5s/10s]
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
`/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/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 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 ... [11s/37s] OK
- checking PDF version of manual ... [5s/7s] OK
- checking HTML version of manual ... [0s/1s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR, 1 NOTE