Running ‘testthat.R’ [88s/114s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library("testthat")
  > library("DBI")
  > 
  > test_check("duckdb")
  Loading required package: duckdb
  Error in ImportRecordBatch(134310836, 134310792) : 
    Cannot call ImportRecordBatch(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. 
  Error in ImportSchema(134310792) : 
    Cannot call ImportSchema(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. 
  Error in ImportRecordBatch(134310836, 134310792) : 
    Cannot call ImportRecordBatch(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. 
  Error in ImportRecordBatch(134310836, 134310792) : 
    Cannot call ImportRecordBatch(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. 
  In addition: Warning messages:
  1: In for (i in seq_along(extends)) { :
    duckdb_finalize_connection_R: Connection is garbage-collected, use dbDisconnect() to avoid this.
  2: In for (i in seq_along(extends)) { :
    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(extends)) { :
    duckdb_finalize_connection_R: Connection is garbage-collected, use dbDisconnect() to avoid this.
  4: In for (i in seq_along(extends)) { :
    duckdb_finalize_database_R: Database is garbage-collected, use dbDisconnect(con, shutdown=TRUE) or duckdb::duckdb_shutdown(drv) to avoid this.
  Error in ImportRecordBatch(134307060, 134307016) : 
    Cannot call ImportRecordBatch(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. 
  Error in ImportRecordBatch(134310836, 134310792) : 
    Cannot call ImportRecordBatch(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. 
  Error in ImportRecordBatch(134310836, 134310792) : 
    Cannot call ImportRecordBatch(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. 
  Error in ImportRecordBatch(134310836, 134310792) : 
    Cannot call ImportRecordBatch(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. 
  Error in ImportRecordBatch(134310836, 134310792) : 
    Cannot call ImportRecordBatch(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. 
  Error in ImportRecordBatch(134310836, 134310792) : 
    Cannot call ImportRecordBatch(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. 
  ══ 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_fetch_arrow.R:15:5): duckdb_fetch_arrow() test table over vector size ──
  Error: INTERNAL Error: Failed to eval R expression Error in ImportRecordBatch(134310836, 134310792) : 
    Cannot call ImportRecordBatch(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. 
  
  Backtrace:
      █
   1. ├─duckdb::duckdb_fetch_arrow(...) test_fetch_arrow.R:15:4
   2. ├─DBI::dbSendQuery(con, "SELECT * FROM test", arrow = TRUE)
   3. └─duckdb::dbSendQuery(con, "SELECT * FROM test", arrow = TRUE)
   4.   └─duckdb:::.local(conn, statement, ...)
   5.     └─duckdb:::duckdb_result(...)
   6.       └─duckdb:::duckdb_execute(res)
  ── Error (test_fetch_arrow.R:31:5): duckdb_fetch_arrow() empty table ───────────
  Error: INTERNAL Error: Failed to eval R expression Error in ImportSchema(134310792) : 
    Cannot call ImportSchema(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. 
  
  Backtrace:
      █
   1. ├─duckdb::duckdb_fetch_arrow(...) test_fetch_arrow.R:31:4
   2. ├─DBI::dbSendQuery(con, "SELECT * FROM test", arrow = TRUE)
   3. └─duckdb::dbSendQuery(con, "SELECT * FROM test", arrow = TRUE)
   4.   └─duckdb:::.local(conn, statement, ...)
   5.     └─duckdb:::duckdb_result(...)
   6.       └─duckdb:::duckdb_execute(res)
  ── Error (test_fetch_arrow.R:48:5): duckdb_fetch_arrow() table with only nulls ──
  Error: INTERNAL Error: Failed to eval R expression Error in ImportRecordBatch(134310836, 134310792) : 
    Cannot call ImportRecordBatch(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. 
  
  Backtrace:
      █
   1. ├─duckdb::duckdb_fetch_arrow(...) test_fetch_arrow.R:48:4
   2. ├─DBI::dbSendQuery(con, "SELECT * FROM test", arrow = TRUE)
   3. └─duckdb::dbSendQuery(con, "SELECT * FROM test", arrow = TRUE)
   4.   └─duckdb:::.local(conn, statement, ...)
   5.     └─duckdb:::duckdb_result(...)
   6.       └─duckdb:::duckdb_execute(res)
  ── Error (test_fetch_arrow.R:67:5): duckdb_fetch_arrow() table with prepared statement ──
  Error: INTERNAL Error: Failed to eval R expression Error in ImportRecordBatch(134310836, 134310792) : 
    Cannot call ImportRecordBatch(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. 
  
  Backtrace:
      █
   1. ├─duckdb::duckdb_fetch_arrow(...) test_fetch_arrow.R:67:4
   2. ├─DBI::dbSendQuery(con, "SELECT * FROM test", arrow = TRUE)
   3. └─duckdb::dbSendQuery(con, "SELECT * FROM test", arrow = TRUE)
   4.   └─duckdb:::.local(conn, statement, ...)
   5.     └─duckdb:::duckdb_result(...)
   6.       └─duckdb:::duckdb_execute(res)
  ── Error (test_register_arrow.R:8:3): duckdb_register_arrow() works ────────────
  Error: Cannot call io___MemoryMappedFile__Open(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. 
  Backtrace:
      █
   1. └─arrow::read_parquet("userdata1.parquet", as_data_frame = FALSE) test_register_arrow.R:8:2
   2.   └─arrow:::make_readable_file(file)
   3.     └─arrow::mmap_open(file)
   4.       └─arrow:::io___MemoryMappedFile__Open(path, mode)
  ── Error (test_register_arrow.R:32:5): duckdb_register_arrow() works with datasets ──
  Error: Cannot call dataset___ParquetFragmentScanOptions__Make(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. 
  Backtrace:
      █
   1. └─arrow::open_dataset("userdata1.parquet") test_register_arrow.R:32:4
   2.   └─DatasetFactory$create(...)
   3.     └─FileFormat$create(match.arg(format), ...)
   4.       └─ParquetFileFormat$create(...)
   5.         └─ParquetFragmentScanOptions$create(...)
   6.           └─arrow:::dataset___ParquetFragmentScanOptions__Make(...)
  ── Error (test_register_arrow.R:55:5): duckdb_register_arrow() performs projection pushdown ──
  Error: Cannot call dataset___ParquetFragmentScanOptions__Make(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. 
  Backtrace:
      █
   1. └─arrow::open_dataset("userdata1.parquet") test_register_arrow.R:55:4
   2.   └─DatasetFactory$create(...)
   3.     └─FileFormat$create(match.arg(format), ...)
   4.       └─ParquetFileFormat$create(...)
   5.         └─ParquetFragmentScanOptions$create(...)
   6.           └─arrow:::dataset___ParquetFragmentScanOptions__Make(...)
  ── Error (test_register_arrow.R:77:5): duckdb_register_arrow() performs selection pushdown ──
  Error: Cannot call dataset___ParquetFragmentScanOptions__Make(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. 
  Backtrace:
      █
   1. └─arrow::open_dataset("userdata1.parquet") test_register_arrow.R:77:4
   2.   └─DatasetFactory$create(...)
   3.     └─FileFormat$create(match.arg(format), ...)
   4.       └─ParquetFileFormat$create(...)
   5.         └─ParquetFragmentScanOptions$create(...)
   6.           └─arrow:::dataset___ParquetFragmentScanOptions__Make(...)
  ── Error (test_register_arrow.R:138:5): duckdb_register_arrow() performs selection pushdown numeric types ──
  Error: INTERNAL Error: Failed to eval R expression Error in ImportRecordBatch(134307060, 134307016) : 
    Cannot call ImportRecordBatch(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. 
  
  Backtrace:
      █
   1. └─duckdb:::numeric_operators(data_type) test_register_arrow.R:138:4
   2.   ├─duckdb::duckdb_fetch_arrow(...) test_register_arrow.R:100:4
   3.   ├─DBI::dbSendQuery(con, "SELECT * FROM test", arrow = TRUE)
   4.   └─duckdb::dbSendQuery(con, "SELECT * FROM test", arrow = TRUE)
   5.     └─duckdb:::.local(conn, statement, ...)
   6.       └─duckdb:::duckdb_result(...)
   7.         └─duckdb:::duckdb_execute(res)
  ── Error (test_register_arrow.R:172:5): duckdb_register_arrow() performs selection pushdown varchar type ──
  Error: INTERNAL Error: Failed to eval R expression Error in ImportRecordBatch(134310836, 134310792) : 
    Cannot call ImportRecordBatch(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. 
  
  Backtrace:
      █
   1. ├─duckdb::duckdb_fetch_arrow(...) test_register_arrow.R:172:4
   2. ├─DBI::dbSendQuery(con, "SELECT * FROM test", arrow = TRUE)
   3. └─duckdb::dbSendQuery(con, "SELECT * FROM test", arrow = TRUE)
   4.   └─duckdb:::.local(conn, statement, ...)
   5.     └─duckdb:::duckdb_result(...)
   6.       └─duckdb:::duckdb_execute(res)
  ── Error (test_register_arrow.R:207:5): duckdb_register_arrow() performs selection pushdown bool type ──
  Error: INTERNAL Error: Failed to eval R expression Error in ImportRecordBatch(134310836, 134310792) : 
    Cannot call ImportRecordBatch(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. 
  
  Backtrace:
      █
   1. ├─duckdb::duckdb_fetch_arrow(...) test_register_arrow.R:207:4
   2. ├─DBI::dbSendQuery(con, "SELECT * FROM test", arrow = TRUE)
   3. └─duckdb::dbSendQuery(con, "SELECT * FROM test", arrow = TRUE)
   4.   └─duckdb:::.local(conn, statement, ...)
   5.     └─duckdb:::duckdb_result(...)
   6.       └─duckdb:::duckdb_execute(res)
  ── Error (test_register_arrow.R:234:5): duckdb_register_arrow() performs selection pushdown time type ──
  Error: INTERNAL Error: Failed to eval R expression Error in ImportRecordBatch(134310836, 134310792) : 
    Cannot call ImportRecordBatch(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. 
  
  Backtrace:
      █
   1. ├─duckdb::duckdb_fetch_arrow(...) test_register_arrow.R:234:4
   2. ├─DBI::dbSendQuery(con, "SELECT * FROM test", arrow = TRUE)
   3. └─duckdb::dbSendQuery(con, "SELECT * FROM test", arrow = TRUE)
   4.   └─duckdb:::.local(conn, statement, ...)
   5.     └─duckdb:::duckdb_result(...)
   6.       └─duckdb:::duckdb_execute(res)
  ── Error (test_register_arrow.R:271:5): duckdb_register_arrow() performs selection pushdown timestamp type ──
  Error: INTERNAL Error: Failed to eval R expression Error in ImportRecordBatch(134310836, 134310792) : 
    Cannot call ImportRecordBatch(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. 
  
  Backtrace:
      █
   1. ├─duckdb::duckdb_fetch_arrow(...) test_register_arrow.R:271:4
   2. ├─DBI::dbSendQuery(con, "SELECT * FROM test", arrow = TRUE)
   3. └─duckdb::dbSendQuery(con, "SELECT * FROM test", arrow = TRUE)
   4.   └─duckdb:::.local(conn, statement, ...)
   5.     └─duckdb:::duckdb_result(...)
   6.       └─duckdb:::duckdb_execute(res)
  ── Error (test_register_arrow.R:307:5): duckdb_register_arrow() performs selection pushdown date type ──
  Error: INTERNAL Error: Failed to eval R expression Error in ImportRecordBatch(134310836, 134310792) : 
    Cannot call ImportRecordBatch(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. 
  
  Backtrace:
      █
   1. ├─duckdb::duckdb_fetch_arrow(...) test_register_arrow.R:307:4
   2. ├─DBI::dbSendQuery(con, "SELECT * FROM test", arrow = TRUE)
   3. └─duckdb::dbSendQuery(con, "SELECT * FROM test", arrow = TRUE)
   4.   └─duckdb:::.local(conn, statement, ...)
   5.     └─duckdb:::duckdb_result(...)
   6.       └─duckdb:::duckdb_execute(res)
  
  [ FAIL 14 | WARN 0 | SKIP 18 | PASS 4791 ]
  Error: Test failures
  In addition: There were 23 warnings (use warnings() to see them)
  Execution halted