- using R Under development (unstable) (2025-04-01 r88092)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3)
GNU Fortran (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3)
- running under: Fedora Linux 40 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- 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 whether package ‘VicmapR’ can be installed ... [12s/36s] OK
See the install log for details.
- 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 ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... NOTE
Namespaces in Imports field not imported from:
‘kableExtra’ ‘knitr’ ‘leaflet’ ‘mapview’
All declared Imports should be used.
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [16s/43s] OK
- checking Rd files ... 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 ... 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 ... OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [11s/39s] ERROR
Running ‘testthat.R’ [11s/38s]
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
`/data/gannet/ripley/R/packages/tests-devel/VicmapR.Rcheck/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 ... [39s/123s] OK
- checking PDF version of manual ... [10s/25s] OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR, 2 NOTEs