Running ‘testthat.R’ [37s/47s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library("testthat")
  > library("DBI")
  > 
  > test_check("duckdb")
  Loading required package: duckdb
  [ FAIL 4 | WARN 0 | SKIP 57 | PASS 689 ]
  
  ══ Skipped tests (57) ══════════════════════════════════════════════════════════
  • On CRAN (27): 'test-DBItest.R:1:1', 'test-arrow.R:18:1',
    'test-arrow_stream.R:1:1', 'test-backend-dbplyr__duckdb_connection.R:402:3',
    'test-backend-dbplyr__duckdb_connection.R:434:3',
    'test-backend-dbplyr__duckdb_connection.R:477:3',
    'test-backend-dbplyr__duckdb_connection.R:502:3',
    'test-backend-dbplyr__duckdb_connection.R:548:3',
    'test-backend-dbplyr__duckdb_connection.R:578:3',
    'test-backend-dbplyr__duckdb_connection.R:603:3',
    'test-backend-dbplyr__duckdb_connection.R:619:3', 'test-explain.R:1:1',
    'test-extension_path.R:1:1', 'test-fetch_arrow.R:1:1', 'test-map.R:43:3',
    'test-multi_statement.R:1:1', 'test-register_arrow.R:1:1',
    'test-relational.R:82:3', 'test-relational.R:107:3',
    'test-relational.R:187:3', 'test-relational.R:843:3',
    'test-relational.R:862:3', 'test-relational.R:975:3',
    'test-relational.R:1002:3', 'test-struct.R:52:3',
    'test-tbl__duckdb_connection.R:1:1', 'test-types.R:11:3'
  • TEST_RE2 is not TRUE (27): 'test-connect.R:59:3', 'test-connect.R:79:3',
    'test-connect.R:99:3', 'test-connect.R:119:3', 'test-connect.R:144:3',
    'test-connect.R:167:3', 'test-connect.R:188:3', 'test-dbwritetable.R:2:3',
    'test-factor.R:2:3', 'test-factor.R:25:3', 'test-factor.R:40:3',
    'test-factor.R:69:3', 'test-read.R:2:3', 'test-read.R:147:3',
    'test-readonly.R:2:3', 'test-register.R:41:3', 'test-rel_api.R:8832:3',
    'test-rel_api.R:12785:3', 'test-shutdown.R:2:3', 'test-struct.R:113:3',
    'test-struct.R:133:3', 'test-timestamp.R:2:3', 'test-viewer.R:2:3',
    'test-viewer.R:17:3', 'test-viewer.R:38:3', 'test-viewer.R:60:3',
    'test-viewer.R:80:3'
  • empty test (1): 'test-factor.R:82:1'
  • interactive() is not TRUE (2): 'test-connect.R:5:3', 'test-connect.R:15:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-signal.R:32:3'): long-running queries can be cancelled ───────
  `polled` not equal to "ready".
  1/1 mismatches
  x[1]: "timeout"
  y[1]: "ready"
  ── Failure ('test-signal.R:33:3'): long-running queries can be cancelled ───────
  r_session$read()$code not equal to 200.
  target is NULL, current is numeric
  ── Failure ('test-signal.R:34:3'): long-running queries can be cancelled ───────
  r_session$get_state() not equal to "idle".
  1/1 mismatches
  x[1]: "busy"
  y[1]: "idle"
  ── Error ('test-signal.R:36:3'): long-running queries can be cancelled ─────────
  <rlib_error_3_0/rlib_error/error/condition>
  Error in `"rs_call(self, private, func, args, package)"`: ! R session busy
  Backtrace:
      ▆
   1. ├─testthat::expect_true(r_session$run(function() .GlobalEnv$interrupted)) at test-signal.R:36:3
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─r_session$run(function() .GlobalEnv$interrupted)
   5.   └─callr:::rs_run(self, private, func, args, package)
   6.     └─callr:::rs_run_with_output(self, private, func, args, package)
   7.       └─self$call(func, args, package)
   8.         └─callr:::rs_call(self, private, func, args, package)
   9.           └─throw(new_error("R session busy"))
  
  [ FAIL 4 | WARN 0 | SKIP 57 | PASS 689 ]
  Error: Test failures
  Execution halted