Running 'testthat.R' [52s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library("testthat")
  > library("DBI")
  > 
  > test_check("duckdb")
  Loading required package: duckdb
  [ FAIL 1 | WARN 0 | SKIP 20 | PASS 571 ]
  
  ══ Skipped tests (20) ══════════════════════════════════════════════════════════
  • DUCKDB_R_TEST_EXTENSION_REQUIRED not set, hence not testing extensions (1):
    'test_extensions.R:38:3'
  • On CRAN (17): 'test-DBItest.R:1:1', 'test_arrow.R:18:1',
    'test_arrow_stream.R:1:1', 'test_backend-dbplyr__duckdb_connection.R:201:3',
    'test_backend-dbplyr__duckdb_connection.R:231:3',
    'test_backend-dbplyr__duckdb_connection.R:272:3',
    'test_backend-dbplyr__duckdb_connection.R:295:3',
    'test_backend-dbplyr__duckdb_connection.R:339:3',
    'test_backend-dbplyr__duckdb_connection.R:367:3',
    'test_backend-dbplyr__duckdb_connection.R:390:3',
    'test_backend-dbplyr__duckdb_connection.R:404:3', 'test_explain.R:1:1',
    'test_fetch_arrow.R:1:1', 'test_multi_statement.R:1:1',
    'test_register_arrow.R:1:1', 'test_struct.R:52:3',
    'test_tbl__duckdb_connection.R:1:1'
  • On Windows (1): 'test_types.R:2:3'
  • empty test (1): 'test_factor.R:74:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_timestamp.R:5:3'): fractional seconds can be roundtripped ──────
  Error in `as.POSIXct.numeric(1.234567 + (1:100) * 1e-06, tz = "UTC")`: 'origin' must be supplied
  Backtrace:
      ▆
   1. ├─base::data.frame(a = as.POSIXct(1.234567 + (1:100) * 1e-06, tz = "UTC")) at test_timestamp.R:5:2
   2. ├─base::as.POSIXct(1.234567 + (1:100) * 1e-06, tz = "UTC")
   3. └─base::as.POSIXct.numeric(1.234567 + (1:100) * 1e-06, tz = "UTC")
  
  [ FAIL 1 | WARN 0 | SKIP 20 | PASS 571 ]
  Error: Test failures
  In addition: Warning messages:
  1: Database is garbage-collected, use dbDisconnect(con, shutdown=TRUE) or duckdb::duckdb_shutdown(drv) to avoid this. 
  2: Database is garbage-collected, use dbDisconnect(con, shutdown=TRUE) or duckdb::duckdb_shutdown(drv) to avoid this. 
  Execution halted
  Warning message:
  Database is garbage-collected, use dbDisconnect(con, shutdown=TRUE) or duckdb::duckdb_shutdown(drv) to avoid this.