Running ‘spelling.R’
  Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > library(duckdbfs)
  > 
  > 
  > 
  > 
  > test_check("duckdbfs")
  [ FAIL 1 | WARN 0 | SKIP 12 | PASS 15 ]
  
  ══ Skipped tests (12) ══════════════════════════════════════════════════════════
  • On CRAN (12): 'test-open_dataset.R:16:3', 'test-open_dataset.R:37:3',
    'test-open_dataset.R:60:3', 'test-open_dataset.R:71:3', 'test-spatial.R:4:3',
    'test-spatial.R:22:3', 'test-spatial.R:43:3', 'test-spatial.R:74:3',
    'test-write_dataset.R:6:3', 'test-write_dataset.R:37:3',
    'test-write_dataset.R:62:3', 'test-write_dataset.R:81:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-load_extension.R:4:3'): extensions installation ────────────────
  Error in `duckdb_result(connection = conn, stmt_lst = stmt_lst, arrow = arrow)`: rapi_execute: Failed to run query
  Error: Invalid Input Error: Initialization function "httpfs_init" from file "/data/gannet/ripley/.local/share/R/duckdb/extensions/v1.2.1/linux_amd64_gcc4/httpfs.duckdb_extension" threw an exception: "Attempted to dereference unique_ptr that is NULL!"
  Backtrace:
       ▆
    1. ├─duckdbfs:::load_httpfs(nightly = FALSE, force = FALSE) at test-load_extension.R:4:3
    2. │ └─duckdbfs:::load_extension(...)
    3. │   ├─DBI::dbExecute(conn, glue::glue("LOAD '{extension}';"))
    4. │   └─DBI::dbExecute(conn, glue::glue("LOAD '{extension}';"))
    5. │     ├─DBI::dbSendStatement(conn, statement, ...)
    6. │     └─DBI::dbSendStatement(conn, statement, ...)
    7. │       ├─DBI::dbSendQuery(conn, statement, ...)
    8. │       └─duckdb::dbSendQuery(conn, statement, ...)
    9. │         └─duckdb (local) .local(conn, statement, ...)
   10. │           └─duckdb:::duckdb_result(connection = conn, stmt_lst = stmt_lst, arrow = arrow)
   11. │             └─duckdb:::duckdb_execute(res)
   12. │               └─duckdb:::rethrow_rapi_execute(...)
   13. │                 ├─rlang::try_fetch(...)
   14. │                 │ ├─base::tryCatch(...)
   15. │                 │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   16. │                 │ │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   17. │                 │ │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   18. │                 │ └─base::withCallingHandlers(...)
   19. │                 └─duckdb:::rapi_execute(stmt, arrow, integer64)
   20. └─base::.handleSimpleError(...)
   21.   └─rlang (local) h(simpleError(msg, call))
   22.     └─handlers[[1L]](cnd)
   23.       └─duckdb:::rethrow_error_from_rapi(e, call)
   24.         └─rlang::abort(msg, call = call)
  
  [ FAIL 1 | WARN 0 | SKIP 12 | PASS 15 ]
  Error: Test failures
  Execution halted