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/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(overtureR)
  > 
  > test_check("overtureR")
  Timing stopped at: 0.404 0.035 0.307
  [ FAIL 1 | WARN 0 | SKIP 3 | PASS 1 ]
  
  ══ Skipped tests (3) ═══════════════════════════════════════════════════════════
  • On CRAN (3): 'test-bbox.R:2:3', 'test-counties.R:2:3', 'test-mem_test.R:2:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-benchmark.R:3:3'): Configuration is fast ───────────────────────
  Error: rapi_prepare: Failed to execute statement  LOAD httpfs ; LOAD spatial ;
  Error: Invalid Input Error: Initialization function "httpfs_init" from file "/data/gannet/ripley/.local/share/R/duckdb/extensions/v1.0.0/linux_amd64_gcc4/httpfs.duckdb_extension" threw an exception: "Attempted to dereference unique_ptr that is NULL!"
  Backtrace:
       ▆
    1. ├─base::system.time(config_extensions(conn)) at test-benchmark.R:3:3
    2. └─overtureR:::config_extensions(conn)
    3.   ├─DBI::dbExecute(conn, queries)
    4.   └─DBI::dbExecute(conn, queries)
    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:::rapi_prepare(conn@conn_ref, statement)
  
  [ FAIL 1 | WARN 0 | SKIP 3 | PASS 1 ]
  Error: Test failures
  Execution halted
  Warning message:
  Connection is garbage-collected, use dbDisconnect() to avoid this.