Running ‘testthat.R’ [54s/61s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library("testthat")
  > library("DBI")
  > 
  > test_check("duckdb")
  Loading required package: duckdb
  Error: C stack usage  155462986544 is too close to the limit
  Error: C stack usage  155429423920 is too close to the limit
  Error: C stack usage  155446205232 is too close to the limit
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • DBItest::run_tests(): 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_character_empty_after, append_roundtrip_factor, append_roundtrip_date, append_roundtrip_time, append_roundtrip_timestamp, append_table_row_names_false, append_table_row_names_ignore, append_table_row_names_non_null, roundtrip_64_bit_character, roundtrip_field_types, remove_table_missing_succeed (1)
  • DBItest::run_tests(): 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_date_integer, bind_timestamp, bind_timestamp_lt, bind_time_seconds, bind_time_hours, bind_raw, bind_blob, column_info_closed, column_info_consistent (1)
  • DBItest::run_tests(): by request: constructor, connect_bigint_integer, connect_bigint_character, connect_bigint_integer64 (1)
  • DBItest::run_tests(): by request: package_dependencies, package_name (1)
  • DBItest::run_tests(): by request: reexport (1)
  • DBItest::run_tests(): 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)
  • No schemas available (1)
  • empty test (1)
  • tweak: omit_blob_tests (5)
  • tweak: temporary_tables (5)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_register_arrow.R:39:5): duckdb_register_arrow() works with datasets ──
  Error: duckdb_execute_R: Failed to run query
  Error: INTERNAL Error: Failed to eval R expression Error: C stack usage  155462986544 is too close to the limit
  
  Backtrace:
      █
   1. ├─DBI::dbGetQuery(con, "SELECT count(*) FROM mydatasetreader") test_register_arrow.R:39:4
   2. └─DBI::dbGetQuery(con, "SELECT count(*) FROM mydatasetreader")
   3.   └─DBI:::.local(conn, statement, ...)
   4.     ├─DBI::dbSendQuery(conn, statement, ...)
   5.     └─duckdb::dbSendQuery(conn, statement, ...)
   6.       └─duckdb:::.local(conn, statement, ...)
   7.         └─duckdb:::duckdb_result(...)
   8.           └─duckdb:::duckdb_execute(res)
  
  [ FAIL 1 | WARN 0 | SKIP 18 | PASS 4948 ]
  Error: Test failures
  In addition: Warning messages:
  1: In for (i in rev(seq_along(supers))) { :
    duckdb_finalize_connection_R: Connection is garbage-collected, use dbDisconnect() to avoid this.
  2: In for (i in rev(seq_along(supers))) { :
    duckdb_finalize_database_R: Database is garbage-collected, use dbDisconnect(con, shutdown=TRUE) or duckdb::duckdb_shutdown(drv) to avoid this.
  3: In for (i in seq_along(snames)) { :
    duckdb_finalize_connection_R: Connection is garbage-collected, use dbDisconnect() to avoid this.
  4: In for (i in seq_along(snames)) { :
    duckdb_finalize_database_R: Database is garbage-collected, use dbDisconnect(con, shutdown=TRUE) or duckdb::duckdb_shutdown(drv) to avoid this.
  5: 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.
  6: 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