Running ‘spelling.R’
  Running ‘testthat.R’ [283s/358s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(arkdb)
  > 
  > test_check("arkdb")
  [1] "Testing using backend duckdb_connection"
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • MonetDBLite cannot be loaded (2)
  • On CRAN (2)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-arkdb.R:172:3): try with parquet & alternate method ─────────────
  Error in `all_record_batches(dots)`: Cannot call all_record_batches(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. 
  Backtrace:
      █
   1. └─arkdb::ark(...) test-arkdb.R:172:2
   2.   └─arkdb:::ark_file(...)
   3.     └─arkdb:::keep_open(...)
   4.       └─streamable_table$write(data, con, omit_header = TRUE)
   5.         └─arrow::write_parquet(x, sink = path, ...)
   6.           └─Table$create(x)
   7.             └─arrow:::all_record_batches(dots)
  ── Error (test-arkdb.R:253:3): e2e with filter for flights month = 12: parquet ──
  Error in `all_record_batches(dots)`: Cannot call all_record_batches(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. 
  Backtrace:
       █
    1. ├─testthat::expect_warning(...) test-arkdb.R:253:2
    2. │ └─testthat:::quasi_capture(enquo(object), label, capture_warnings)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─arkdb::ark(...)
    7.   └─arkdb:::ark_file(...)
    8.     └─arkdb:::keep_open(...)
    9.       └─streamable_table$write(data, con, omit_header = TRUE)
   10.         └─arrow::write_parquet(x, sink = path, ...)
   11.           └─Table$create(x)
   12.             └─arrow:::all_record_batches(dots)
  ── Error (test-arkdb.R:278:3): Warns when applying filter to multiple tables ───
  Error in `all_record_batches(dots)`: Cannot call all_record_batches(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. 
  Backtrace:
       █
    1. ├─testthat::expect_warning(...) test-arkdb.R:278:2
    2. │ └─testthat:::quasi_capture(enquo(object), label, capture_warnings)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─arkdb::ark(...)
    7.   └─arkdb:::ark_file(...)
    8.     └─arkdb:::keep_open(...)
    9.       └─streamable_table$write(data, con, omit_header = TRUE)
   10.         └─arrow::write_parquet(x, sink = path, ...)
   11.           └─Table$create(x)
   12.             └─arrow:::all_record_batches(dots)
  
  [ FAIL 3 | WARN 1 | SKIP 4 | PASS 43 ]
  Error: Test failures
  In addition: Warning messages:
  1: In theme$parsed :
    duckdb_finalize_connection_R: Connection is garbage-collected, use dbDisconnect() to avoid this.
  2: In theme$parsed :
    duckdb_finalize_database_R: Database is garbage-collected, use dbDisconnect(con, shutdown=TRUE) or duckdb::duckdb_shutdown(drv) to avoid this.
  Execution halted