* using log directory ‘/data/gannet/ripley/R/packages/tests-clang/duckdbfs.Rcheck’
* using R Under development (unstable) (2025-02-28 r87848)
* using platform: x86_64-pc-linux-gnu
* R was compiled by
    clang version 20.1.0-rc3
    flang version 20.1.0-rc3
* running under: Fedora Linux 40 (Workstation Edition)
* using session charset: UTF-8
* using option ‘--no-stop-on-test-error’
* checking for file ‘duckdbfs/DESCRIPTION’ ... OK
* this is package ‘duckdbfs’ version ‘0.0.9’
* package encoding: UTF-8
* checking package namespace information ... OK
* checking package dependencies ... OK
* checking if this is a source package ... OK
* checking if there is a namespace ... OK
* checking for executable files ... OK
* checking for hidden files and directories ... OK
* checking for portable file names ... OK
* checking for sufficient/correct file permissions ... OK
* checking whether package ‘duckdbfs’ can be installed ... OK
See 'https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-fedora-clang/duckdbfs-00install.html' for details.
* checking installed package size ... OK
* checking package directory ... OK
* checking DESCRIPTION meta-information ... NOTE
  Missing dependency on R >= 4.1.0 because package code uses the pipe
  |> or function shorthand \(...) syntax added in R 4.1.0.
  File(s) using such syntax:
    ‘as_view.Rd’ ‘spatial_join.Rd’ ‘to_sf.R’ ‘to_sf.Rd’
* checking top-level files ... OK
* checking for left-over files ... OK
* checking index information ... OK
* checking package subdirectories ... OK
* checking code files for non-ASCII characters ... OK
* checking R files for syntax errors ... OK
* checking whether the package can be loaded ... OK
* checking whether the package can be loaded with stated dependencies ... OK
* checking whether the package can be unloaded cleanly ... OK
* checking whether the namespace can be loaded with stated dependencies ... OK
* checking whether the namespace can be unloaded cleanly ... OK
* checking loading without being on the library search path ... OK
* checking use of S3 registration ... OK
* checking dependencies in R code ... OK
* checking S3 generic/method consistency ... OK
* checking replacement functions ... OK
* checking foreign function calls ... OK
* checking R code for possible problems ... OK
* checking Rd files ... OK
* checking Rd metadata ... OK
* checking Rd line widths ... OK
* checking Rd cross-references ... OK
* checking for missing documentation entries ... OK
* checking for code/documentation mismatches ... OK
* checking Rd \usage sections ... OK
* checking Rd contents ... OK
* checking for unstated dependencies in examples ... OK
* checking examples ... OK
* checking for unstated dependencies in ‘tests’ ... OK
* checking tests ... [8s/10s] ERROR
  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.0/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
* checking PDF version of manual ... OK
* checking HTML version of manual ... OK
* checking for non-standard things in the check directory ... OK
* checking for detritus in the temp directory ... OK
* DONE
Status: 1 ERROR, 1 NOTE