Running ‘testthat.R’ [27s/44s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(DBI)
  > 
  > test_check("duckdb")
  Loading required package: duckdb
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  ● No schemas available (1)
  ● by request: append_roundtrip_keywords, append_roundtrip_quotes, append_roundtrip_integer, append_roundtrip_numeric, append_roundtrip_logical, append_roundtrip_null, append_roundtrip_64_bit_numeric, append_roundtrip_64_bit_character, append_roundtrip_64_bit_roundtrip, append_roundtrip_character, append_roundtrip_character_native, append_roundtrip_character_empty, append_roundtrip_factor, append_roundtrip_date, append_roundtrip_time, append_roundtrip_timestamp, append_table_row_names_false, append_table_row_names_non_null, roundtrip_64_bit_character, roundtrip_timestamp, roundtrip_field_types, remove_table_missing_succeed (1)
  ● by request: bind_formals, bind_return_value, bind_empty, bind_too_many, bind_not_enough, bind_wrong_name, bind_multi_row_unequal_length, bind_named_param_unnamed_placeholders, bind_named_param_empty_placeholders, bind_named_param_na_placeholders, bind_unnamed_param_named_placeholders, bind_premature_clear, bind_multi_row, bind_multi_row_zero_length, bind_multi_row_statement, bind_repeated, bind_repeated_untouched, bind_named_param_shuffle, bind_integer, bind_numeric, bind_logical, bind_character, bind_factor, bind_date, bind_timestamp, bind_timestamp_lt, bind_raw, bind_blob, column_info_closed, column_info_consistent (1)
  ● by request: constructor, connect_bigint_integer, connect_bigint_character, connect_bigint_integer64 (1)
  ● by request: package_dependencies, package_name (1)
  ● by request: reexport (1)
  ● by request: send_query_stale_warning, send_query_only_one_result_set, send_query_params, get_query_params, send_statement_stale_warning, send_statement_only_one_result_set, data_logical, data_64_bit_numeric_warning, data_64_bit_lossless (1)
  ● tweak: omit_blob_tests (5)
  ● tweak: temporary_tables (4)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_timezone.R:29:3): timezone_out works with '' and converts to local timezime ──
  Error: cannot change value of locked binding for '.sys.timezone'
  Backtrace:
      █
   1. └─withr::local_timezone("Pacific/Tahiti") test_timezone.R:29:2
   2.   └─base::assign(".sys.timezone", NA, envir = baseenv())
  ── Error (???): timezone_out works with '' and converts to local timezime ──────
  Error: cannot change value of locked binding for '.sys.timezone'
  Backtrace:
      █
   1. └─(function (envir) ...
  ── Error (test_timezone.R:39:3): timezone_out works with Sys.timezone ──────────
  Error: cannot change value of locked binding for '.sys.timezone'
  Backtrace:
      █
   1. └─withr::local_timezone("Pacific/Tahiti") test_timezone.R:39:2
   2.   └─base::assign(".sys.timezone", NA, envir = baseenv())
  ── Error (???): timezone_out works with Sys.timezone ───────────────────────────
  Error: cannot change value of locked binding for '.sys.timezone'
  Backtrace:
      █
   1. └─(function (envir) ...
  ── Error (test_timezone.R:67:3): timezone_out works with '' and tz_out_convert = 'force': forces local timezime ──
  Error: cannot change value of locked binding for '.sys.timezone'
  Backtrace:
      █
   1. └─withr::local_timezone("Pacific/Tahiti") test_timezone.R:67:2
   2.   └─base::assign(".sys.timezone", NA, envir = baseenv())
  ── Error (???): timezone_out works with '' and tz_out_convert = 'force': forces local timezime ──
  Error: cannot change value of locked binding for '.sys.timezone'
  Backtrace:
      █
   1. └─(function (envir) ...
  ── Error (test_timezone.R:77:3): timezone_out works with a specified local timezone and tz_out_convert = 'force': forces local timezime ──
  Error: cannot change value of locked binding for '.sys.timezone'
  Backtrace:
      █
   1. └─withr::local_timezone("Pacific/Tahiti") test_timezone.R:77:2
   2.   └─base::assign(".sys.timezone", NA, envir = baseenv())
  ── Error (???): timezone_out works with a specified local timezone and tz_out_convert = 'force': forces local timezime ──
  Error: cannot change value of locked binding for '.sys.timezone'
  Backtrace:
      █
   1. └─(function (envir) ...
  
  [ FAIL 8 | WARN 0 | SKIP 16 | PASS 4007 ]
  Error: Test failures
  In addition: Warning message:
  In for (i in seq_len(n)) { :
    duckdb_finalize_database_R: Database is garbage-collected, use dbDisconnect(con, shutdown=TRUE) or duckdb::duckdb_shutdown(drv) to avoid this.
  Execution halted