Running ‘testthat.R’ [11s/21s]
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(motherduck)
  > library(DBI)
  > library(openxlsx)
  > 
  > test_check("motherduck")
  duckdb is storing downloaded extensions and secrets under ~/.duckdb:
  i /data/localhost/ripley/.duckdb
  This persists across sessions and is shared with the DuckDB CLI and other clients.
  i Run duckdb(shared_home = FALSE) to use a temporary directory instead.
  i See ?duckdb_storage for details and alternatives.
  duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
  * Loading a prebuilt (libstdc++) extension could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
  * INSTALL/LOAD of an extension will error, and automatic extension loading is off.
  i Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
  i Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
  i See ?duckdb for details.
  
  -- Status: ---------------------------------------------------------------------
  
  -- Connection Status Report: --
  
  ! You are not connected to MotherDuck
  
  -- User Report: --
  
  * User Name: "duckdb"
  * Role: "duckdb"
  
  -- Catalog Report: --
  
  * Current Database: "memory"
  * Current Schema: "main"
  * # Total Catalogs you have access to: 3
  * # Total Tables you have access to: 0
  * # Total Shares you have access to: 0
  * # Tables in this catalog you have access to: 0
  * # Tables in this catalog & schema you have access to: 0
  
  -- Action Report: --
  
  v Inserted into existing database "memory"
  v Created new schema "test_schema"
  > Current role: `duckdb`
  
  -- Status: ---------------------------------------------------------------------
  
  -- User Report: --
  
  * User Name: "duckdb"
  * Role: "duckdb"
  
  -- Catalog Report: --
  
  * Current Database: "memory"
  * Current Schema: "test_schema"
  * # Total Catalogs you have access to: 3
  * # Total Tables you have access to: 0
  * # Total Shares you have access to: 0
  * # Tables in this catalog you have access to: 0
  * # Tables in this catalog & schema you have access to: 0
  > Current role: `duckdb`
  duckdb is storing downloaded extensions and secrets under ~/.duckdb:
  i /data/localhost/ripley/.duckdb
  This persists across sessions and is shared with the DuckDB CLI and other clients.
  i Run duckdb(shared_home = FALSE) to use a temporary directory instead.
  i See ?duckdb_storage for details and alternatives.
  duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
  * Loading a prebuilt (libstdc++) extension could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
  * INSTALL/LOAD of an extension will error, and automatic extension loading is off.
  i Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
  i Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
  i See ?duckdb for details.
  duckdb is storing downloaded extensions and secrets under ~/.duckdb:
  i /data/localhost/ripley/.duckdb
  This persists across sessions and is shared with the DuckDB CLI and other clients.
  i Run duckdb(shared_home = FALSE) to use a temporary directory instead.
  i See ?duckdb_storage for details and alternatives.
  duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
  * Loading a prebuilt (libstdc++) extension could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
  * INSTALL/LOAD of an extension will error, and automatic extension loading is off.
  i Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
  i Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
  i See ?duckdb for details.
  duckdb is storing downloaded extensions and secrets under ~/.duckdb:
  i /data/localhost/ripley/.duckdb
  This persists across sessions and is shared with the DuckDB CLI and other clients.
  i Run duckdb(shared_home = FALSE) to use a temporary directory instead.
  i See ?duckdb_storage for details and alternatives.
  duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
  * Loading a prebuilt (libstdc++) extension could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
  * INSTALL/LOAD of an extension will error, and automatic extension loading is off.
  i Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
  i Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
  i See ?duckdb for details.
  > Current role: `duckdb`
  duckdb is storing downloaded extensions and secrets under ~/.duckdb:
  i /data/localhost/ripley/.duckdb
  This persists across sessions and is shared with the DuckDB CLI and other clients.
  i Run duckdb(shared_home = FALSE) to use a temporary directory instead.
  i See ?duckdb_storage for details and alternatives.
  duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
  * Loading a prebuilt (libstdc++) extension could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
  * INSTALL/LOAD of an extension will error, and automatic extension loading is off.
  i Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
  i Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
  i See ?duckdb for details.
  > Current role: `duckdb`
  duckdb is storing downloaded extensions and secrets under ~/.duckdb:
  i /data/localhost/ripley/.duckdb
  This persists across sessions and is shared with the DuckDB CLI and other clients.
  i Run duckdb(shared_home = FALSE) to use a temporary directory instead.
  i See ?duckdb_storage for details and alternatives.
  duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
  * Loading a prebuilt (libstdc++) extension could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
  * INSTALL/LOAD of an extension will error, and automatic extension loading is off.
  i Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
  i Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
  i See ?duckdb for details.
  
  -- Status: ---------------------------------------------------------------------
  
  -- Connection Status Report: --
  
  ! You are not connected to MotherDuck
  
  -- User Report: --
  
  * User Name: "duckdb"
  * Role: "duckdb"
  
  -- Catalog Report: --
  
  * Current Database: "memory"
  * Current Schema: "main"
  * # Total Catalogs you have access to: 3
  * # Total Tables you have access to: 1
  * # Total Shares you have access to: 0
  * # Tables in this catalog you have access to: 1
  * # Tables in this catalog & schema you have access to: 1
  
  -- Action Report: --
  
  v Inserted into existing database "memory"
  v Using existing schema "main"
  duckdb is storing downloaded extensions and secrets under ~/.duckdb:
  i /data/localhost/ripley/.duckdb
  This persists across sessions and is shared with the DuckDB CLI and other clients.
  i Run duckdb(shared_home = FALSE) to use a temporary directory instead.
  i See ?duckdb_storage for details and alternatives.
  duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
  * Loading a prebuilt (libstdc++) extension could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
  * INSTALL/LOAD of an extension will error, and automatic extension loading is off.
  i Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
  i Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
  i See ?duckdb for details.
  
  -- Status: ---------------------------------------------------------------------
  
  -- Connection Status Report: --
  
  ! You are not connected to MotherDuck
  
  -- User Report: --
  
  * User Name: "duckdb"
  * Role: "duckdb"
  
  -- Catalog Report: --
  
  * Current Database: "memory"
  * Current Schema: "main"
  * # Total Catalogs you have access to: 3
  * # Total Tables you have access to: 1
  * # Total Shares you have access to: 0
  * # Tables in this catalog you have access to: 1
  * # Tables in this catalog & schema you have access to: 1
  
  -- Action Report: --
  
  v Inserted into existing database "memory"
  v Using existing schema "main"
  duckdb is storing downloaded extensions and secrets under ~/.duckdb:
  i /data/localhost/ripley/.duckdb
  This persists across sessions and is shared with the DuckDB CLI and other clients.
  i Run duckdb(shared_home = FALSE) to use a temporary directory instead.
  i See ?duckdb_storage for details and alternatives.
  duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
  * Loading a prebuilt (libstdc++) extension could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
  * INSTALL/LOAD of an extension will error, and automatic extension loading is off.
  i Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
  i Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
  i See ?duckdb for details.
  
  -- Status: ---------------------------------------------------------------------
  
  -- Connection Status Report: --
  
  ! You are not connected to MotherDuck
  
  -- User Report: --
  
  * User Name: "duckdb"
  * Role: "duckdb"
  
  -- Catalog Report: --
  
  * Current Database: "memory"
  * Current Schema: "main"
  * # Total Catalogs you have access to: 3
  * # Total Tables you have access to: 1
  * # Total Shares you have access to: 0
  * # Tables in this catalog you have access to: 1
  * # Tables in this catalog & schema you have access to: 1
  
  -- Action Report: --
  
  v Inserted into existing database "memory"
  v Using existing schema "main"
  duckdb is storing downloaded extensions and secrets under ~/.duckdb:
  i /data/localhost/ripley/.duckdb
  This persists across sessions and is shared with the DuckDB CLI and other clients.
  i Run duckdb(shared_home = FALSE) to use a temporary directory instead.
  i See ?duckdb_storage for details and alternatives.
  duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
  * Loading a prebuilt (libstdc++) extension could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
  * INSTALL/LOAD of an extension will error, and automatic extension loading is off.
  i Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
  i Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
  i See ?duckdb for details.
  
  -- Status: ---------------------------------------------------------------------
  
  -- Connection Status Report: --
  
  ! You are not connected to MotherDuck
  
  -- User Report: --
  
  * User Name: "duckdb"
  * Role: "duckdb"
  
  -- Catalog Report: --
  
  * Current Database: "memory"
  * Current Schema: "main"
  * # Total Catalogs you have access to: 3
  * # Total Tables you have access to: 3
  * # Total Shares you have access to: 0
  * # Tables in this catalog you have access to: 3
  * # Tables in this catalog & schema you have access to: 3
  
  -- Action Report: --
  
  v Inserted into existing database "memory"
  v Using existing schema "main"
  
  -- Status: ---------------------------------------------------------------------
  
  -- Connection Status Report: --
  
  ! You are not connected to MotherDuck
  
  -- User Report: --
  
  * User Name: "duckdb"
  * Role: "duckdb"
  
  -- Catalog Report: --
  
  * Current Database: "memory"
  * Current Schema: "main"
  * # Total Catalogs you have access to: 3
  * # Total Tables you have access to: 3
  * # Total Shares you have access to: 0
  * # Tables in this catalog you have access to: 3
  * # Tables in this catalog & schema you have access to: 3
  
  -- Action Report: --
  
  v Inserted into existing database "memory"
  v Using existing schema "main"
  duckdb is storing downloaded extensions and secrets under ~/.duckdb:
  i /data/localhost/ripley/.duckdb
  This persists across sessions and is shared with the DuckDB CLI and other clients.
  i Run duckdb(shared_home = FALSE) to use a temporary directory instead.
  i See ?duckdb_storage for details and alternatives.
  duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
  * Loading a prebuilt (libstdc++) extension could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
  * INSTALL/LOAD of an extension will error, and automatic extension loading is off.
  i Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
  i Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
  i See ?duckdb for details.
  duckdb is storing downloaded extensions and secrets under ~/.duckdb:
  i /data/localhost/ripley/.duckdb
  This persists across sessions and is shared with the DuckDB CLI and other clients.
  i Run duckdb(shared_home = FALSE) to use a temporary directory instead.
  i See ?duckdb_storage for details and alternatives.
  duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
  * Loading a prebuilt (libstdc++) extension could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
  * INSTALL/LOAD of an extension will error, and automatic extension loading is off.
  i Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
  i Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
  i See ?duckdb for details.
  Note: method with signature 'DBIConnection#Id' chosen for function 'dbExistsTable',
   target signature 'duckdb_connection#Id'.
   "duckdb_connection#ANY" would also be valid
  
  -- Status: ---------------------------------------------------------------------
  
  -- Connection Status Report: --
  
  ! You are not connected to MotherDuck
  
  -- User Report: --
  
  * User Name: "duckdb"
  * Role: "duckdb"
  
  -- Catalog Report: --
  
  * Current Database: "memory"
  * Current Schema: "main"
  * # Total Catalogs you have access to: 3
  * # Total Tables you have access to: 0
  * # Total Shares you have access to: 0
  * # Tables in this catalog you have access to: 0
  * # Tables in this catalog & schema you have access to: 0
  
  -- Action Report: 
  * Deleted "delete_table" from "[database_name]" in "main"
  duckdb is storing downloaded extensions and secrets under ~/.duckdb:
  i /data/localhost/ripley/.duckdb
  This persists across sessions and is shared with the DuckDB CLI and other clients.
  i Run duckdb(shared_home = FALSE) to use a temporary directory instead.
  i See ?duckdb_storage for details and alternatives.
  duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
  * Loading a prebuilt (libstdc++) extension could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
  * INSTALL/LOAD of an extension will error, and automatic extension loading is off.
  i Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
  i Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
  i See ?duckdb for details.
  duckdb is storing downloaded extensions and secrets under ~/.duckdb:
  i /data/localhost/ripley/.duckdb
  This persists across sessions and is shared with the DuckDB CLI and other clients.
  i Run duckdb(shared_home = FALSE) to use a temporary directory instead.
  i See ?duckdb_storage for details and alternatives.
  duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
  * Loading a prebuilt (libstdc++) extension could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
  * INSTALL/LOAD of an extension will error, and automatic extension loading is off.
  i Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
  i Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
  i See ?duckdb for details.
  duckdb is storing downloaded extensions and secrets under ~/.duckdb:
  i /data/localhost/ripley/.duckdb
  This persists across sessions and is shared with the DuckDB CLI and other clients.
  i Run duckdb(shared_home = FALSE) to use a temporary directory instead.
  i See ?duckdb_storage for details and alternatives.
  duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
  * Loading a prebuilt (libstdc++) extension could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
  * INSTALL/LOAD of an extension will error, and automatic extension loading is off.
  i Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
  i Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
  i See ?duckdb for details.
  
  -- Status: ---------------------------------------------------------------------
  
  -- Connection Status Report: --
  
  ! You are not connected to MotherDuck
  
  -- User Report: --
  
  * User Name: "duckdb"
  * Role: "duckdb"
  
  -- Catalog Report: --
  
  * Current Database: "memory"
  * Current Schema: "main"
  * # Total Catalogs you have access to: 3
  * # Total Tables you have access to: 0
  * # Total Shares you have access to: 0
  * # Tables in this catalog you have access to: 0
  * # Tables in this catalog & schema you have access to: 0
  
  -- Action Report: --
  
  v Inserted into existing database "memory"
  v Created new schema "test_schema"
  
  -- Status: ---------------------------------------------------------------------
  
  -- Connection Status Report: --
  
  ! You are not connected to MotherDuck
  
  -- User Report: --
  
  * User Name: "duckdb"
  * Role: "duckdb"
  
  -- Catalog Report: --
  
  * Current Database: "memory"
  * Current Schema: "main"
  * # Total Catalogs you have access to: 3
  * # Total Tables you have access to: 1
  * # Total Shares you have access to: 0
  * # Tables in this catalog you have access to: 1
  * # Tables in this catalog & schema you have access to: 0
  
  -- Action Report: --
  
  * Deleted "test_schema" schema and 1 tables
  
  -- Status: ---------------------------------------------------------------------
  
  -- Connection Status Report: --
  
  ! You are not connected to MotherDuck
  
  -- User Report: --
  
  * User Name: "duckdb"
  * Role: "duckdb"
  
  -- Catalog Report: --
  
  * Current Database: "memory"
  * Current Schema: "main"
  * # Total Catalogs you have access to: 3
  * # Total Tables you have access to: 0
  * # Total Shares you have access to: 0
  * # Tables in this catalog you have access to: 0
  * # Tables in this catalog & schema you have access to: 0
  
  -- Action Report: --
  
  * Deleted "test_schema" schema and 1 tables
  duckdb is storing downloaded extensions and secrets under ~/.duckdb:
  i /data/localhost/ripley/.duckdb
  This persists across sessions and is shared with the DuckDB CLI and other clients.
  i Run duckdb(shared_home = FALSE) to use a temporary directory instead.
  i See ?duckdb_storage for details and alternatives.
  duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
  * Loading a prebuilt (libstdc++) extension could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
  * INSTALL/LOAD of an extension will error, and automatic extension loading is off.
  i Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
  i Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
  i See ?duckdb for details.
  
  -- Action Report: --
  
  v Inserted into existing database "memory"
  v Using existing schema "main"
  v Overwrite existing table "mtcars_csv"
  duckdb is storing downloaded extensions and secrets under ~/.duckdb:
  i /data/localhost/ripley/.duckdb
  This persists across sessions and is shared with the DuckDB CLI and other clients.
  i Run duckdb(shared_home = FALSE) to use a temporary directory instead.
  i See ?duckdb_storage for details and alternatives.
  duckdb was built with libc++ (not libstdc++) on Linux, so DuckDB extensions are disabled:
  * Loading a prebuilt (libstdc++) extension could crash R (https://github.com/duckdb/duckdb-r/issues/1107).
  * INSTALL/LOAD of an extension will error, and automatic extension loading is off.
  i Pass duckdb(allow_extensions = FALSE) to accept this and silence this message.
  i Pass duckdb(allow_extensions = TRUE) to attempt loading anyway (may crash R).
  i See ?duckdb for details.
  Saving _problems/test-motherduck-405.R
  [ FAIL 1 | WARN 0 | SKIP 1 | PASS 22 ]
  
  ══ Skipped tests (1) ═══════════════════════════════════════════════════════════
  • empty test (1): 'test-motherduck.R:259:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-motherduck.R:405:7'): read_excel / successfully reads a excel and copies table to database ──
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::map(ext_lst$valid_ext, function(x) DBI::dbExecute(.con, glue::glue("LOAD {x};")))`: i In index: 1.
  Caused by error in `dbSendQuery()`:
  ! DuckDB extension loading (INSTALL / LOAD) is disabled for this driver.
  i Recreate the driver with duckdb(allow_extensions = TRUE) to enable it (this may crash R on a Linux build not compiled with libstdc++; see https://github.com/duckdb/duckdb-r/issues/1107).
  i See ?duckdb for details.
  i Context: load_extension
  
  [ FAIL 1 | WARN 0 | SKIP 1 | PASS 22 ]
  Error:
  ! Test failures.
  Execution halted