Running ‘testthat.R’ [7s/7s]
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 
    `/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/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 
    `/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/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 
    `/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/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