Running ‘testthat.R’ [44s/72s]
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/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > library(readwritesqlite)
  > 
  > test_check("readwritesqlite")
  Saving files to '/home/hornik/tmp/scratch/RtmpGbhDi6'
  Exported table 'data1' with spatial column 'geometry' as 'data1.gpkg'
  Exported table 'data1_geometry2' with spatial column 'geometry2' as 'data1_geometry2.gpkg'
  Exported table 'data2_geometry' with spatial column 'geometry' as 'data2_geometry.gpkg'
  Exported table 'data2_geometry2' with spatial column 'geometry2' as 'data2_geometry2.gpkg'
  Saving files to '/home/hornik/tmp/scratch/RtmpGbhDi6'
  hi
  [ FAIL 1 | WARN 37 | SKIP 3 | PASS 612 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • 'no age' should not be converted to 0 (2)
  • Getting error Column 'zz' in table 'age' has 'No' meta data for the input data but 'class: logical' for the existing data. (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-export.R:27'): rws_export_gpkg works ───────────────────────────
  <Rcpp::eval_error/C++Error/error/condition>
  Error in `CPL_read_ogr(dsn, layer, query, as.character(options), quiet, 
      type, fid_column_name, drivers, wkt_filter, promote_to_multi, 
      int64_as_string, dsn_exists, dsn_isdb, getOption("width"))`: Evaluation error: a valid "POSIXlt" object has names.
  Backtrace:
      ▆
   1. ├─sf::st_read(file.path(dir, "data1_geometry2.gpkg"), quiet = TRUE) at test-export.R:27:2
   2. └─sf:::st_read.character(...)
   3.   └─sf:::CPL_read_ogr(...)
  
  [ FAIL 1 | WARN 37 | SKIP 3 | PASS 612 ]
  Error: Test failures
  Execution halted