- using R version 4.4.3 Patched (2026-02-12 r89426 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 13.3.0
GNU Fortran (GCC) 13.3.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
- checking for file 'duckspatial/DESCRIPTION' ... OK
- checking extension type ... Package
- this is package 'duckspatial' version '0.9.0'
- 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 'duckspatial' can be installed ... OK
See the install log for details.
- 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 ... [0s] OK
- checking whether the package can be loaded with stated dependencies ... [0s] OK
- checking whether the package can be unloaded cleanly ... [0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s] OK
- checking loading without being on the library search path ... [1s] OK
- checking whether startup messages can be suppressed ... [0s] 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 ... [8s] OK
- checking Rd files ... [2s] OK
- 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 installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ... [9s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [10s] ERROR
Running 'testthat.R' [9s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(duckspatial)
Important: 'crs_column' and 'crs' arguments are deprecated and will be removed in the next version.
If possible, use the default values of these arguments to avoid future issues.
> library(duckdb)
Loading required package: DBI
>
> test_check("duckspatial")
Reading layer `countries' from data source
`D:\RCompile\CRANpkg\lib\4.4\duckspatial\spatial\countries.geojson'
using driver `GeoJSON'
Simple feature collection with 257 features and 6 fields
Geometry type: POLYGON
Dimension: XY
Bounding box: xmin: -178.9125 ymin: -89.9 xmax: 180 ymax: 83.65187
Geodetic CRS: WGS 84
Reading layer `argentina' from data source
`D:\RCompile\CRANpkg\lib\4.4\duckspatial\spatial\argentina.geojson'
using driver `GeoJSON'
Simple feature collection with 1 feature and 6 fields
Geometry type: POLYGON
Dimension: XY
Bounding box: xmin: -73.52455 ymin: -52.39755 xmax: -53.62409 ymax: -21.81793
Geodetic CRS: WGS 84
Reading layer `rivers' from data source
`D:\RCompile\CRANpkg\lib\4.4\duckspatial\spatial\rivers.geojson'
using driver `GeoJSON'
Simple feature collection with 100 features and 1 field
Geometry type: LINESTRING
Dimension: XY
Bounding box: xmin: 2766878 ymin: 2222357 xmax: 3578648 ymax: 2459939
Projected CRS: ETRS89-extended / LAEA Europe
v Temporary view view_test registered
v Arrow view view_test successfully imported.
i Table <table_test> dropped
v Table table_test successfully imported
v table table_test successfully imported.
i Table <rt_write_line> dropped
v Table rt_write_line successfully imported
v table rt_write_line successfully imported.
i Table <rt_write_polygon> dropped
v Table rt_write_polygon successfully imported
v table rt_write_polygon successfully imported.
i Table <rt_write_multipoint> dropped
v Table rt_write_multipoint successfully imported
v table rt_write_multipoint successfully imported.
v Temporary view rt_register_line registered
v Arrow view rt_register_line successfully imported.
v Temporary view rt_register_polygon registered
v Arrow view rt_register_polygon successfully imported.
v Temporary view rt_register_multipoint registered
v Arrow view rt_register_multipoint successfully imported.
i Table <countries_from_file_compat> dropped
v Table countries_from_file_compat successfully imported
Saving _problems/test-compatibility-112.R
[ FAIL 1 | WARN 2 | SKIP 17 | PASS 31 ]
══ Skipped tests (17) ══════════════════════════════════════════════════════════
• On CRAN (17): 'test-db_read.R:2:1', 'test-db_register.R:3:1',
'test-db_write.R:3:1', 'test-ddbs_area.R:3:1', 'test-ddbs_bbox.R:3:1',
'test-ddbs_combine.R:3:1', 'test-ddbs_concave_hull.R:3:1',
'test-ddbs_convex_hull.R:3:1', 'test-ddbs_distance.R:3:1',
'test-ddbs_envelope.R:3:1', 'test-ddbs_generate_points.R:5:1',
'test-ddbs_interpolate_aw.R:2:1', 'test-ddbs_join.R:3:1',
'test-ddbs_length.R:3:1', 'test-ddbs_transform.R:5:1',
'test-ddbs_union.R:3:1', 'test-utils.R:2:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-compatibility.R:112:5'): Compatibility: Writing from file path and reading back ──
Error in `ddbs_read_vector(conn, table_name)`: Geometry column wasn't found in table <countries_from_file_compat>.
Backtrace:
▆
1. └─duckspatial::ddbs_read_vector(conn, table_name) at test-compatibility.R:112:5
2. └─cli::cli_abort("Geometry column wasn't found in table <{name_list$query_name}>.")
3. └─rlang::abort(...)
[ FAIL 1 | WARN 2 | SKIP 17 | PASS 31 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [17s] OK
- checking PDF version of manual ... [22s] OK
- checking HTML version of manual ... [15s] OK
- DONE
Status: 1 ERROR