CRAN Package Check Results for Package CDMConnector

Last updated on 2023-01-22 15:53:09 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.1 9.64 136.67 146.31 ERROR
r-devel-linux-x86_64-debian-gcc 0.3.1 8.17 101.38 109.55 ERROR
r-devel-linux-x86_64-fedora-clang 0.4.0 236.99 NOTE
r-devel-linux-x86_64-fedora-gcc 0.3.1 183.55 ERROR
r-devel-windows-x86_64 0.3.1 61.00 199.00 260.00 ERROR
r-patched-linux-x86_64 0.3.1 8.85 133.72 142.57 ERROR
r-release-linux-x86_64 0.3.1 8.72 124.62 133.34 ERROR
r-release-macos-arm64 0.3.1 73.00 NOTE
r-release-macos-x86_64 0.3.1 96.00 NOTE
r-release-windows-x86_64 0.4.0 72.00 228.00 300.00 NOTE
r-oldrel-macos-arm64 0.3.1 69.00 NOTE
r-oldrel-macos-x86_64 0.3.1 105.00 NOTE
r-oldrel-windows-ix86+x86_64 0.3.1 22.00 169.00 191.00 ERROR

Check Details

Version: 0.3.1
Check: package dependencies
Result: NOTE
    Package which this enhances but not available for checking: ‘CirceR’
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-ix86+x86_64

Version: 0.3.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [29s/34s]
    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(CDMConnector)
     >
     > test_check("CDMConnector")
     [ FAIL 9 | WARN 0 | SKIP 26 | PASS 11 ]
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • CirceR cannot be loaded (1)
     • Sys.getenv("CDM5_POSTGRESQL_USER") == "" is TRUE (7)
     • Sys.getenv("CDM5_REDSHIFT_USER") == "" is TRUE (7)
     • Sys.getenv("CDM5_SQL_SERVER_USER") == "" is TRUE (7)
     • Sys.getenv("LOCAL_POSTGRESQL_USER") == "" is TRUE (3)
     • Sys.getenv("REDSHIFT_USER") == "" is TRUE (1)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error ('test-cdm.R:140'): cdm reference works on duckdb ─────────────────────
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     ▆
     1. ├─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir()) at test-cdm.R:140:2
     2. └─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir())
     3. └─duckdb (local) .local(drv, ...)
     4. └─duckdb::duckdb(dbdir, read_only, bigint, config)
     5. ├─methods::new(...)
     6. │ ├─methods::initialize(value, ...)
     7. │ └─methods::initialize(value, ...)
     8. └─duckdb:::rapi_startup(dbdir, read_only, config)
     ── Error ('test-cdm.R:162'): inclusion of cohort tables ────────────────────────
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     ▆
     1. ├─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir()) at test-cdm.R:162:2
     2. └─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir())
     3. └─duckdb (local) .local(drv, ...)
     4. └─duckdb::duckdb(dbdir, read_only, bigint, config)
     5. ├─methods::new(...)
     6. │ ├─methods::initialize(value, ...)
     7. │ └─methods::initialize(value, ...)
     8. └─duckdb:::rapi_startup(dbdir, read_only, config)
     ── Error ('test-cdm.R:192'): collect a cdm ─────────────────────────────────────
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     ▆
     1. ├─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir()) at test-cdm.R:192:2
     2. └─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir())
     3. └─duckdb (local) .local(drv, ...)
     4. └─duckdb::duckdb(dbdir, read_only, bigint, config)
     5. ├─methods::new(...)
     6. │ ├─methods::initialize(value, ...)
     7. │ └─methods::initialize(value, ...)
     8. └─duckdb:::rapi_startup(dbdir, read_only, config)
     ── Error ('test-cdm.R:217'): stow and cdm_from_files works ─────────────────────
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     ▆
     1. ├─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir()) at test-cdm.R:217:2
     2. └─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir())
     3. └─duckdb (local) .local(drv, ...)
     4. └─duckdb::duckdb(dbdir, read_only, bigint, config)
     5. ├─methods::new(...)
     6. │ ├─methods::initialize(value, ...)
     7. │ └─methods::initialize(value, ...)
     8. └─duckdb:::rapi_startup(dbdir, read_only, config)
     ── Error ('test-cdm.R:374'): autodetect cdm version works ──────────────────────
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     ▆
     1. ├─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir()) at test-cdm.R:374:2
     2. └─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir())
     3. └─duckdb (local) .local(drv, ...)
     4. └─duckdb::duckdb(dbdir, read_only, bigint, config)
     5. ├─methods::new(...)
     6. │ ├─methods::initialize(value, ...)
     7. │ └─methods::initialize(value, ...)
     8. └─duckdb:::rapi_startup(dbdir, read_only, config)
     ── Error ('test-computePermanent.R:7'): computePermanent works on duckdb ───────
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     ▆
     1. ├─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir()) at test-computePermanent.R:7:2
     2. └─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir())
     3. └─duckdb (local) .local(drv, ...)
     4. └─duckdb::duckdb(dbdir, read_only, bigint, config)
     5. ├─methods::new(...)
     6. │ ├─methods::initialize(value, ...)
     7. │ └─methods::initialize(value, ...)
     8. └─duckdb:::rapi_startup(dbdir, read_only, config)
     ── Error ('test-dbConnectDetails.R:81'): dbConnectDetails works on duckdb ──────
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     ▆
     1. └─CDMConnector (local) self_contained_query(details, "main") at test-dbConnectDetails.R:81:2
     2. ├─base::suppressMessages(...) at test-dbConnectDetails.R:6:2
     3. │ └─base::withCallingHandlers(...)
     4. ├─DBI::dbConnect(connection_details) at test-dbConnectDetails.R:7:4
     5. └─DBI::dbConnect(connection_details)
     6. └─CDMConnector (local) .local(drv, ...)
     7. ├─rlang::inject(DBI::dbConnect(!!!l))
     8. ├─DBI::dbConnect(`<dckdb_dr>`, dbdir = "/tmp/Rtmp4SipXT/ebhqjnvj/cdm.duckdb")
     9. └─DBI::dbConnect(`<dckdb_dr>`, dbdir = "/tmp/Rtmp4SipXT/ebhqjnvj/cdm.duckdb")
     10. └─duckdb (local) .local(drv, ...)
     11. └─duckdb::duckdb(dbdir, read_only, bigint, config)
     12. ├─methods::new(...)
     13. │ ├─methods::initialize(value, ...)
     14. │ └─methods::initialize(value, ...)
     15. └─duckdb:::rapi_startup(dbdir, read_only, config)
     ── Error ('test-validate.R:5'): validate cdm works ─────────────────────────────
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     ▆
     1. ├─DBI::dbConnect(duckdb::duckdb(), eunomia_dir()) at test-validate.R:5:2
     2. └─DBI::dbConnect(duckdb::duckdb(), eunomia_dir())
     3. └─duckdb (local) .local(drv, ...)
     4. └─duckdb::duckdb(dbdir, read_only, bigint, config)
     5. ├─methods::new(...)
     6. │ ├─methods::initialize(value, ...)
     7. │ └─methods::initialize(value, ...)
     8. └─duckdb:::rapi_startup(dbdir, read_only, config)
     ── Error ('test-validate.R:20'): assert_tables works ───────────────────────────
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     ▆
     1. ├─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir()) at test-validate.R:20:2
     2. └─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir())
     3. └─duckdb (local) .local(drv, ...)
     4. └─duckdb::duckdb(dbdir, read_only, bigint, config)
     5. ├─methods::new(...)
     6. │ ├─methods::initialize(value, ...)
     7. │ └─methods::initialize(value, ...)
     8. └─duckdb:::rapi_startup(dbdir, read_only, config)
    
     [ FAIL 9 | WARN 0 | SKIP 26 | PASS 11 ]
     Error: Test failures
     Execution halted
     Warning messages:
     1: Connection is garbage-collected, use dbDisconnect() to avoid this.
     2: Database is garbage-collected, use dbDisconnect(con, shutdown=TRUE) or duckdb::duckdb_shutdown(drv) to avoid this.
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.3.1
Check: re-building of vignette outputs
Result: ERROR
    Error(s) in re-building vignettes:
     ...
    --- re-building ‘DBI_connection_examples.Rmd’ using rmarkdown
    --- finished re-building ‘DBI_connection_examples.Rmd’
    
    --- re-building ‘SQL.Rmd’ using rmarkdown
    --- finished re-building ‘SQL.Rmd’
    
    --- re-building ‘cdm_reference_backends.Rmd’ using rmarkdown
    Quitting from lines 46-65 (cdm_reference_backends.Rmd)
    Error: processing vignette ‘cdm_reference_backends.Rmd’ failed with diagnostics:
    rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
    The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
    The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
    The storage will be stabilized when version 1.0 releases.
    
    For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
    See the storage page for more information: https://duckdb.org/internals/storage
    --- failed re-building ‘cdm_reference_backends.Rmd’
    
    --- re-building ‘dbplyr.Rmd’ using rmarkdown
    Quitting from lines 38-41 (dbplyr.Rmd)
    Error: processing vignette ‘dbplyr.Rmd’ failed with diagnostics:
    rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
    The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
    The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
    The storage will be stabilized when version 1.0 releases.
    
    For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
    See the storage page for more information: https://duckdb.org/internals/storage
    --- failed re-building ‘dbplyr.Rmd’
    
    --- re-building ‘getting-started.Rmd’ using rmarkdown
    Quitting from lines 30-35 (getting-started.Rmd)
    Error: processing vignette ‘getting-started.Rmd’ failed with diagnostics:
    rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
    The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
    The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
    The storage will be stabilized when version 1.0 releases.
    
    For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
    See the storage page for more information: https://duckdb.org/internals/storage
    --- failed re-building ‘getting-started.Rmd’
    
    SUMMARY: processing the following files failed:
     ‘cdm_reference_backends.Rmd’ ‘dbplyr.Rmd’ ‘getting-started.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 0.3.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [20s/29s]
    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(CDMConnector)
     >
     > test_check("CDMConnector")
     [ FAIL 9 | WARN 0 | SKIP 26 | PASS 11 ]
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • CirceR cannot be loaded (1)
     • Sys.getenv("CDM5_POSTGRESQL_USER") == "" is TRUE (7)
     • Sys.getenv("CDM5_REDSHIFT_USER") == "" is TRUE (7)
     • Sys.getenv("CDM5_SQL_SERVER_USER") == "" is TRUE (7)
     • Sys.getenv("LOCAL_POSTGRESQL_USER") == "" is TRUE (3)
     • Sys.getenv("REDSHIFT_USER") == "" is TRUE (1)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error ('test-cdm.R:140'): cdm reference works on duckdb ─────────────────────
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     ▆
     1. ├─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir()) at test-cdm.R:140:2
     2. └─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir())
     3. └─duckdb (local) .local(drv, ...)
     4. └─duckdb::duckdb(dbdir, read_only, bigint, config)
     5. ├─methods::new(...)
     6. │ ├─methods::initialize(value, ...)
     7. │ └─methods::initialize(value, ...)
     8. └─duckdb:::rapi_startup(dbdir, read_only, config)
     ── Error ('test-cdm.R:162'): inclusion of cohort tables ────────────────────────
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     ▆
     1. ├─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir()) at test-cdm.R:162:2
     2. └─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir())
     3. └─duckdb (local) .local(drv, ...)
     4. └─duckdb::duckdb(dbdir, read_only, bigint, config)
     5. ├─methods::new(...)
     6. │ ├─methods::initialize(value, ...)
     7. │ └─methods::initialize(value, ...)
     8. └─duckdb:::rapi_startup(dbdir, read_only, config)
     ── Error ('test-cdm.R:192'): collect a cdm ─────────────────────────────────────
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     ▆
     1. ├─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir()) at test-cdm.R:192:2
     2. └─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir())
     3. └─duckdb (local) .local(drv, ...)
     4. └─duckdb::duckdb(dbdir, read_only, bigint, config)
     5. ├─methods::new(...)
     6. │ ├─methods::initialize(value, ...)
     7. │ └─methods::initialize(value, ...)
     8. └─duckdb:::rapi_startup(dbdir, read_only, config)
     ── Error ('test-cdm.R:217'): stow and cdm_from_files works ─────────────────────
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     ▆
     1. ├─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir()) at test-cdm.R:217:2
     2. └─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir())
     3. └─duckdb (local) .local(drv, ...)
     4. └─duckdb::duckdb(dbdir, read_only, bigint, config)
     5. ├─methods::new(...)
     6. │ ├─methods::initialize(value, ...)
     7. │ └─methods::initialize(value, ...)
     8. └─duckdb:::rapi_startup(dbdir, read_only, config)
     ── Error ('test-cdm.R:374'): autodetect cdm version works ──────────────────────
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     ▆
     1. ├─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir()) at test-cdm.R:374:2
     2. └─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir())
     3. └─duckdb (local) .local(drv, ...)
     4. └─duckdb::duckdb(dbdir, read_only, bigint, config)
     5. ├─methods::new(...)
     6. │ ├─methods::initialize(value, ...)
     7. │ └─methods::initialize(value, ...)
     8. └─duckdb:::rapi_startup(dbdir, read_only, config)
     ── Error ('test-computePermanent.R:7'): computePermanent works on duckdb ───────
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     ▆
     1. ├─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir()) at test-computePermanent.R:7:2
     2. └─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir())
     3. └─duckdb (local) .local(drv, ...)
     4. └─duckdb::duckdb(dbdir, read_only, bigint, config)
     5. ├─methods::new(...)
     6. │ ├─methods::initialize(value, ...)
     7. │ └─methods::initialize(value, ...)
     8. └─duckdb:::rapi_startup(dbdir, read_only, config)
     ── Error ('test-dbConnectDetails.R:81'): dbConnectDetails works on duckdb ──────
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     ▆
     1. └─CDMConnector (local) self_contained_query(details, "main") at test-dbConnectDetails.R:81:2
     2. ├─base::suppressMessages(...) at test-dbConnectDetails.R:6:2
     3. │ └─base::withCallingHandlers(...)
     4. ├─DBI::dbConnect(connection_details) at test-dbConnectDetails.R:7:4
     5. └─DBI::dbConnect(connection_details)
     6. └─CDMConnector (local) .local(drv, ...)
     7. ├─rlang::inject(DBI::dbConnect(!!!l))
     8. ├─DBI::dbConnect(`<dckdb_dr>`, dbdir = "/home/hornik/tmp/scratch/RtmpU9DAC7/cqahbpnb/cdm.duckdb")
     9. └─DBI::dbConnect(`<dckdb_dr>`, dbdir = "/home/hornik/tmp/scratch/RtmpU9DAC7/cqahbpnb/cdm.duckdb")
     10. └─duckdb (local) .local(drv, ...)
     11. └─duckdb::duckdb(dbdir, read_only, bigint, config)
     12. ├─methods::new(...)
     13. │ ├─methods::initialize(value, ...)
     14. │ └─methods::initialize(value, ...)
     15. └─duckdb:::rapi_startup(dbdir, read_only, config)
     ── Error ('test-validate.R:5'): validate cdm works ─────────────────────────────
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     ▆
     1. ├─DBI::dbConnect(duckdb::duckdb(), eunomia_dir()) at test-validate.R:5:2
     2. └─DBI::dbConnect(duckdb::duckdb(), eunomia_dir())
     3. └─duckdb (local) .local(drv, ...)
     4. └─duckdb::duckdb(dbdir, read_only, bigint, config)
     5. ├─methods::new(...)
     6. │ ├─methods::initialize(value, ...)
     7. │ └─methods::initialize(value, ...)
     8. └─duckdb:::rapi_startup(dbdir, read_only, config)
     ── Error ('test-validate.R:20'): assert_tables works ───────────────────────────
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     ▆
     1. ├─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir()) at test-validate.R:20:2
     2. └─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir())
     3. └─duckdb (local) .local(drv, ...)
     4. └─duckdb::duckdb(dbdir, read_only, bigint, config)
     5. ├─methods::new(...)
     6. │ ├─methods::initialize(value, ...)
     7. │ └─methods::initialize(value, ...)
     8. └─duckdb:::rapi_startup(dbdir, read_only, config)
    
     [ FAIL 9 | WARN 0 | SKIP 26 | PASS 11 ]
     Error: Test failures
     Execution halted
     Warning messages:
     1: Connection is garbage-collected, use dbDisconnect() to avoid this.
     2: Database is garbage-collected, use dbDisconnect(con, shutdown=TRUE) or duckdb::duckdb_shutdown(drv) to avoid this.
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.4.0
Check: package dependencies
Result: NOTE
    Package which this enhances but not available for checking: ‘CirceR’
Flavors: r-devel-linux-x86_64-fedora-clang, r-release-windows-x86_64

Version: 0.3.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [33s/33s]
    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(CDMConnector)
     >
     > test_check("CDMConnector")
     [ FAIL 9 | WARN 0 | SKIP 26 | PASS 11 ]
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • CirceR cannot be loaded (1)
     • Sys.getenv("CDM5_POSTGRESQL_USER") == "" is TRUE (7)
     • Sys.getenv("CDM5_REDSHIFT_USER") == "" is TRUE (7)
     • Sys.getenv("CDM5_SQL_SERVER_USER") == "" is TRUE (7)
     • Sys.getenv("LOCAL_POSTGRESQL_USER") == "" is TRUE (3)
     • Sys.getenv("REDSHIFT_USER") == "" is TRUE (1)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error ('test-cdm.R:140'): cdm reference works on duckdb ─────────────────────
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     ▆
     1. ├─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir()) at test-cdm.R:140:2
     2. └─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir())
     3. └─duckdb (local) .local(drv, ...)
     4. └─duckdb::duckdb(dbdir, read_only, bigint, config)
     5. ├─methods::new(...)
     6. │ ├─methods::initialize(value, ...)
     7. │ └─methods::initialize(value, ...)
     8. └─duckdb:::rapi_startup(dbdir, read_only, config)
     ── Error ('test-cdm.R:162'): inclusion of cohort tables ────────────────────────
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     ▆
     1. ├─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir()) at test-cdm.R:162:2
     2. └─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir())
     3. └─duckdb (local) .local(drv, ...)
     4. └─duckdb::duckdb(dbdir, read_only, bigint, config)
     5. ├─methods::new(...)
     6. │ ├─methods::initialize(value, ...)
     7. │ └─methods::initialize(value, ...)
     8. └─duckdb:::rapi_startup(dbdir, read_only, config)
     ── Error ('test-cdm.R:192'): collect a cdm ─────────────────────────────────────
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     ▆
     1. ├─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir()) at test-cdm.R:192:2
     2. └─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir())
     3. └─duckdb (local) .local(drv, ...)
     4. └─duckdb::duckdb(dbdir, read_only, bigint, config)
     5. ├─methods::new(...)
     6. │ ├─methods::initialize(value, ...)
     7. │ └─methods::initialize(value, ...)
     8. └─duckdb:::rapi_startup(dbdir, read_only, config)
     ── Error ('test-cdm.R:217'): stow and cdm_from_files works ─────────────────────
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     ▆
     1. ├─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir()) at test-cdm.R:217:2
     2. └─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir())
     3. └─duckdb (local) .local(drv, ...)
     4. └─duckdb::duckdb(dbdir, read_only, bigint, config)
     5. ├─methods::new(...)
     6. │ ├─methods::initialize(value, ...)
     7. │ └─methods::initialize(value, ...)
     8. └─duckdb:::rapi_startup(dbdir, read_only, config)
     ── Error ('test-cdm.R:374'): autodetect cdm version works ──────────────────────
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     ▆
     1. ├─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir()) at test-cdm.R:374:2
     2. └─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir())
     3. └─duckdb (local) .local(drv, ...)
     4. └─duckdb::duckdb(dbdir, read_only, bigint, config)
     5. ├─methods::new(...)
     6. │ ├─methods::initialize(value, ...)
     7. │ └─methods::initialize(value, ...)
     8. └─duckdb:::rapi_startup(dbdir, read_only, config)
     ── Error ('test-computePermanent.R:7'): computePermanent works on duckdb ───────
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     ▆
     1. ├─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir()) at test-computePermanent.R:7:2
     2. └─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir())
     3. └─duckdb (local) .local(drv, ...)
     4. └─duckdb::duckdb(dbdir, read_only, bigint, config)
     5. ├─methods::new(...)
     6. │ ├─methods::initialize(value, ...)
     7. │ └─methods::initialize(value, ...)
     8. └─duckdb:::rapi_startup(dbdir, read_only, config)
     ── Error ('test-dbConnectDetails.R:81'): dbConnectDetails works on duckdb ──────
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     ▆
     1. └─CDMConnector (local) self_contained_query(details, "main") at test-dbConnectDetails.R:81:2
     2. ├─base::suppressMessages(...) at test-dbConnectDetails.R:6:2
     3. │ └─base::withCallingHandlers(...)
     4. ├─DBI::dbConnect(connection_details) at test-dbConnectDetails.R:7:4
     5. └─DBI::dbConnect(connection_details)
     6. └─CDMConnector (local) .local(drv, ...)
     7. ├─rlang::inject(DBI::dbConnect(!!!l))
     8. ├─DBI::dbConnect(`<dckdb_dr>`, dbdir = "/tmp/RtmpnrwPEz/working_dir/RtmpfGXGgk/akyyzyif/cdm.duckdb")
     9. └─DBI::dbConnect(`<dckdb_dr>`, dbdir = "/tmp/RtmpnrwPEz/working_dir/RtmpfGXGgk/akyyzyif/cdm.duckdb")
     10. └─duckdb (local) .local(drv, ...)
     11. └─duckdb::duckdb(dbdir, read_only, bigint, config)
     12. ├─methods::new(...)
     13. │ ├─methods::initialize(value, ...)
     14. │ └─methods::initialize(value, ...)
     15. └─duckdb:::rapi_startup(dbdir, read_only, config)
     ── Error ('test-validate.R:5'): validate cdm works ─────────────────────────────
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     ▆
     1. ├─DBI::dbConnect(duckdb::duckdb(), eunomia_dir()) at test-validate.R:5:2
     2. └─DBI::dbConnect(duckdb::duckdb(), eunomia_dir())
     3. └─duckdb (local) .local(drv, ...)
     4. └─duckdb::duckdb(dbdir, read_only, bigint, config)
     5. ├─methods::new(...)
     6. │ ├─methods::initialize(value, ...)
     7. │ └─methods::initialize(value, ...)
     8. └─duckdb:::rapi_startup(dbdir, read_only, config)
     ── Error ('test-validate.R:20'): assert_tables works ───────────────────────────
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     ▆
     1. ├─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir()) at test-validate.R:20:2
     2. └─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir())
     3. └─duckdb (local) .local(drv, ...)
     4. └─duckdb::duckdb(dbdir, read_only, bigint, config)
     5. ├─methods::new(...)
     6. │ ├─methods::initialize(value, ...)
     7. │ └─methods::initialize(value, ...)
     8. └─duckdb:::rapi_startup(dbdir, read_only, config)
    
     [ FAIL 9 | WARN 0 | SKIP 26 | PASS 11 ]
     Error: Test failures
     Execution halted
     Warning messages:
     1: Connection is garbage-collected, use dbDisconnect() to avoid this.
     2: Database is garbage-collected, use dbDisconnect(con, shutdown=TRUE) or duckdb::duckdb_shutdown(drv) to avoid this.
Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.3.1
Check: re-building of vignette outputs
Result: ERROR
    Error(s) in re-building vignettes:
    --- re-building ‘DBI_connection_examples.Rmd’ using rmarkdown
    --- finished re-building ‘DBI_connection_examples.Rmd’
    
    --- re-building ‘SQL.Rmd’ using rmarkdown
    --- finished re-building ‘SQL.Rmd’
    
    --- re-building ‘cdm_reference_backends.Rmd’ using rmarkdown
    Quitting from lines 46-65 (cdm_reference_backends.Rmd)
    Error: processing vignette 'cdm_reference_backends.Rmd' failed with diagnostics:
    rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
    The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
    The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
    The storage will be stabilized when version 1.0 releases.
    
    For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
    See the storage page for more information: https://duckdb.org/internals/storage
    --- failed re-building ‘cdm_reference_backends.Rmd’
    
    --- re-building ‘dbplyr.Rmd’ using rmarkdown
    Quitting from lines 38-41 (dbplyr.Rmd)
    Error: processing vignette 'dbplyr.Rmd' failed with diagnostics:
    rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
    The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
    The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
    The storage will be stabilized when version 1.0 releases.
    
    For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
    See the storage page for more information: https://duckdb.org/internals/storage
    --- failed re-building ‘dbplyr.Rmd’
    
    --- re-building ‘getting-started.Rmd’ using rmarkdown
    Quitting from lines 30-35 (getting-started.Rmd)
    Error: processing vignette 'getting-started.Rmd' failed with diagnostics:
    rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
    The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
    The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
    The storage will be stabilized when version 1.0 releases.
    
    For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
    See the storage page for more information: https://duckdb.org/internals/storage
    --- failed re-building ‘getting-started.Rmd’
    
    SUMMARY: processing the following files failed:
     ‘cdm_reference_backends.Rmd’ ‘dbplyr.Rmd’ ‘getting-started.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64

Version: 0.3.1
Check: tests
Result: ERROR
     Running 'testthat.R' [26s]
    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(CDMConnector)
     >
     > test_check("CDMConnector")
     [ FAIL 9 | WARN 0 | SKIP 26 | PASS 11 ]
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • CirceR cannot be loaded (1)
     • Sys.getenv("CDM5_POSTGRESQL_USER") == "" is TRUE (7)
     • Sys.getenv("CDM5_REDSHIFT_USER") == "" is TRUE (7)
     • Sys.getenv("CDM5_SQL_SERVER_USER") == "" is TRUE (7)
     • Sys.getenv("LOCAL_POSTGRESQL_USER") == "" is TRUE (3)
     • Sys.getenv("REDSHIFT_USER") == "" is TRUE (1)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error ('test-cdm.R:140'): cdm reference works on duckdb ─────────────────────
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     ▆
     1. ├─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir()) at test-cdm.R:140:2
     2. └─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir())
     3. └─duckdb (local) .local(drv, ...)
     4. └─duckdb::duckdb(dbdir, read_only, bigint, config)
     5. ├─methods::new(...)
     6. │ ├─methods::initialize(value, ...)
     7. │ └─methods::initialize(value, ...)
     8. └─duckdb:::rapi_startup(dbdir, read_only, config)
     ── Error ('test-cdm.R:162'): inclusion of cohort tables ────────────────────────
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     ▆
     1. ├─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir()) at test-cdm.R:162:2
     2. └─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir())
     3. └─duckdb (local) .local(drv, ...)
     4. └─duckdb::duckdb(dbdir, read_only, bigint, config)
     5. ├─methods::new(...)
     6. │ ├─methods::initialize(value, ...)
     7. │ └─methods::initialize(value, ...)
     8. └─duckdb:::rapi_startup(dbdir, read_only, config)
     ── Error ('test-cdm.R:192'): collect a cdm ─────────────────────────────────────
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     ▆
     1. ├─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir()) at test-cdm.R:192:2
     2. └─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir())
     3. └─duckdb (local) .local(drv, ...)
     4. └─duckdb::duckdb(dbdir, read_only, bigint, config)
     5. ├─methods::new(...)
     6. │ ├─methods::initialize(value, ...)
     7. │ └─methods::initialize(value, ...)
     8. └─duckdb:::rapi_startup(dbdir, read_only, config)
     ── Error ('test-cdm.R:217'): stow and cdm_from_files works ─────────────────────
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     ▆
     1. ├─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir()) at test-cdm.R:217:2
     2. └─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir())
     3. └─duckdb (local) .local(drv, ...)
     4. └─duckdb::duckdb(dbdir, read_only, bigint, config)
     5. ├─methods::new(...)
     6. │ ├─methods::initialize(value, ...)
     7. │ └─methods::initialize(value, ...)
     8. └─duckdb:::rapi_startup(dbdir, read_only, config)
     ── Error ('test-cdm.R:374'): autodetect cdm version works ──────────────────────
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     ▆
     1. ├─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir()) at test-cdm.R:374:2
     2. └─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir())
     3. └─duckdb (local) .local(drv, ...)
     4. └─duckdb::duckdb(dbdir, read_only, bigint, config)
     5. ├─methods::new(...)
     6. │ ├─methods::initialize(value, ...)
     7. │ └─methods::initialize(value, ...)
     8. └─duckdb:::rapi_startup(dbdir, read_only, config)
     ── Error ('test-computePermanent.R:7'): computePermanent works on duckdb ───────
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     ▆
     1. ├─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir()) at test-computePermanent.R:7:2
     2. └─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir())
     3. └─duckdb (local) .local(drv, ...)
     4. └─duckdb::duckdb(dbdir, read_only, bigint, config)
     5. ├─methods::new(...)
     6. │ ├─methods::initialize(value, ...)
     7. │ └─methods::initialize(value, ...)
     8. └─duckdb:::rapi_startup(dbdir, read_only, config)
     ── Error ('test-dbConnectDetails.R:81'): dbConnectDetails works on duckdb ──────
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     ▆
     1. └─CDMConnector (local) self_contained_query(details, "main") at test-dbConnectDetails.R:81:2
     2. ├─base::suppressMessages(...) at test-dbConnectDetails.R:6:2
     3. │ └─base::withCallingHandlers(...)
     4. ├─DBI::dbConnect(connection_details) at test-dbConnectDetails.R:7:4
     5. └─DBI::dbConnect(connection_details)
     6. └─CDMConnector (local) .local(drv, ...)
     7. ├─rlang::inject(DBI::dbConnect(!!!l))
     8. ├─DBI::dbConnect(`<dckdb_dr>`, dbdir = "D:\\temp\\Rtmp8g7SGd/qpybreqq/cdm.duckdb")
     9. └─DBI::dbConnect(`<dckdb_dr>`, dbdir = "D:\\temp\\Rtmp8g7SGd/qpybreqq/cdm.duckdb")
     10. └─duckdb (local) .local(drv, ...)
     11. └─duckdb::duckdb(dbdir, read_only, bigint, config)
     12. ├─methods::new(...)
     13. │ ├─methods::initialize(value, ...)
     14. │ └─methods::initialize(value, ...)
     15. └─duckdb:::rapi_startup(dbdir, read_only, config)
     ── Error ('test-validate.R:5'): validate cdm works ─────────────────────────────
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     ▆
     1. ├─DBI::dbConnect(duckdb::duckdb(), eunomia_dir()) at test-validate.R:5:2
     2. └─DBI::dbConnect(duckdb::duckdb(), eunomia_dir())
     3. └─duckdb (local) .local(drv, ...)
     4. └─duckdb::duckdb(dbdir, read_only, bigint, config)
     5. ├─methods::new(...)
     6. │ ├─methods::initialize(value, ...)
     7. │ └─methods::initialize(value, ...)
     8. └─duckdb:::rapi_startup(dbdir, read_only, config)
     ── Error ('test-validate.R:20'): assert_tables works ───────────────────────────
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     ▆
     1. ├─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir()) at test-validate.R:20:2
     2. └─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir())
     3. └─duckdb (local) .local(drv, ...)
     4. └─duckdb::duckdb(dbdir, read_only, bigint, config)
     5. ├─methods::new(...)
     6. │ ├─methods::initialize(value, ...)
     7. │ └─methods::initialize(value, ...)
     8. └─duckdb:::rapi_startup(dbdir, read_only, config)
    
     [ FAIL 9 | WARN 0 | SKIP 26 | PASS 11 ]
     Error: Test failures
     Execution halted
     Warning messages:
     1: Connection is garbage-collected, use dbDisconnect() to avoid this.
     2: Database is garbage-collected, use dbDisconnect(con, shutdown=TRUE) or duckdb::duckdb_shutdown(drv) to avoid this.
Flavor: r-devel-windows-x86_64

Version: 0.3.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [27s/31s]
    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(CDMConnector)
     >
     > test_check("CDMConnector")
     [ FAIL 9 | WARN 0 | SKIP 26 | PASS 11 ]
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • CirceR cannot be loaded (1)
     • Sys.getenv("CDM5_POSTGRESQL_USER") == "" is TRUE (7)
     • Sys.getenv("CDM5_REDSHIFT_USER") == "" is TRUE (7)
     • Sys.getenv("CDM5_SQL_SERVER_USER") == "" is TRUE (7)
     • Sys.getenv("LOCAL_POSTGRESQL_USER") == "" is TRUE (3)
     • Sys.getenv("REDSHIFT_USER") == "" is TRUE (1)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error ('test-cdm.R:140'): cdm reference works on duckdb ─────────────────────
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     ▆
     1. ├─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir()) at test-cdm.R:140:2
     2. └─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir())
     3. └─duckdb (local) .local(drv, ...)
     4. └─duckdb::duckdb(dbdir, read_only, bigint, config)
     5. ├─methods::new(...)
     6. │ ├─methods::initialize(value, ...)
     7. │ └─methods::initialize(value, ...)
     8. └─duckdb:::rapi_startup(dbdir, read_only, config)
     ── Error ('test-cdm.R:162'): inclusion of cohort tables ────────────────────────
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     ▆
     1. ├─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir()) at test-cdm.R:162:2
     2. └─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir())
     3. └─duckdb (local) .local(drv, ...)
     4. └─duckdb::duckdb(dbdir, read_only, bigint, config)
     5. ├─methods::new(...)
     6. │ ├─methods::initialize(value, ...)
     7. │ └─methods::initialize(value, ...)
     8. └─duckdb:::rapi_startup(dbdir, read_only, config)
     ── Error ('test-cdm.R:192'): collect a cdm ─────────────────────────────────────
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     ▆
     1. ├─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir()) at test-cdm.R:192:2
     2. └─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir())
     3. └─duckdb (local) .local(drv, ...)
     4. └─duckdb::duckdb(dbdir, read_only, bigint, config)
     5. ├─methods::new(...)
     6. │ ├─methods::initialize(value, ...)
     7. │ └─methods::initialize(value, ...)
     8. └─duckdb:::rapi_startup(dbdir, read_only, config)
     ── Error ('test-cdm.R:217'): stow and cdm_from_files works ─────────────────────
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     ▆
     1. ├─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir()) at test-cdm.R:217:2
     2. └─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir())
     3. └─duckdb (local) .local(drv, ...)
     4. └─duckdb::duckdb(dbdir, read_only, bigint, config)
     5. ├─methods::new(...)
     6. │ ├─methods::initialize(value, ...)
     7. │ └─methods::initialize(value, ...)
     8. └─duckdb:::rapi_startup(dbdir, read_only, config)
     ── Error ('test-cdm.R:374'): autodetect cdm version works ──────────────────────
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     ▆
     1. ├─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir()) at test-cdm.R:374:2
     2. └─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir())
     3. └─duckdb (local) .local(drv, ...)
     4. └─duckdb::duckdb(dbdir, read_only, bigint, config)
     5. ├─methods::new(...)
     6. │ ├─methods::initialize(value, ...)
     7. │ └─methods::initialize(value, ...)
     8. └─duckdb:::rapi_startup(dbdir, read_only, config)
     ── Error ('test-computePermanent.R:7'): computePermanent works on duckdb ───────
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     ▆
     1. ├─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir()) at test-computePermanent.R:7:2
     2. └─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir())
     3. └─duckdb (local) .local(drv, ...)
     4. └─duckdb::duckdb(dbdir, read_only, bigint, config)
     5. ├─methods::new(...)
     6. │ ├─methods::initialize(value, ...)
     7. │ └─methods::initialize(value, ...)
     8. └─duckdb:::rapi_startup(dbdir, read_only, config)
     ── Error ('test-dbConnectDetails.R:81'): dbConnectDetails works on duckdb ──────
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     ▆
     1. └─CDMConnector (local) self_contained_query(details, "main") at test-dbConnectDetails.R:81:2
     2. ├─base::suppressMessages(...) at test-dbConnectDetails.R:6:2
     3. │ └─base::withCallingHandlers(...)
     4. ├─DBI::dbConnect(connection_details) at test-dbConnectDetails.R:7:4
     5. └─DBI::dbConnect(connection_details)
     6. └─CDMConnector (local) .local(drv, ...)
     7. ├─rlang::inject(DBI::dbConnect(!!!l))
     8. ├─DBI::dbConnect(`<dckdb_dr>`, dbdir = "/tmp/RtmpeMORzY/pbwvkrkm/cdm.duckdb")
     9. └─DBI::dbConnect(`<dckdb_dr>`, dbdir = "/tmp/RtmpeMORzY/pbwvkrkm/cdm.duckdb")
     10. └─duckdb (local) .local(drv, ...)
     11. └─duckdb::duckdb(dbdir, read_only, bigint, config)
     12. ├─methods::new(...)
     13. │ ├─methods::initialize(value, ...)
     14. │ └─methods::initialize(value, ...)
     15. └─duckdb:::rapi_startup(dbdir, read_only, config)
     ── Error ('test-validate.R:5'): validate cdm works ─────────────────────────────
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     ▆
     1. ├─DBI::dbConnect(duckdb::duckdb(), eunomia_dir()) at test-validate.R:5:2
     2. └─DBI::dbConnect(duckdb::duckdb(), eunomia_dir())
     3. └─duckdb (local) .local(drv, ...)
     4. └─duckdb::duckdb(dbdir, read_only, bigint, config)
     5. ├─methods::new(...)
     6. │ ├─methods::initialize(value, ...)
     7. │ └─methods::initialize(value, ...)
     8. └─duckdb:::rapi_startup(dbdir, read_only, config)
     ── Error ('test-validate.R:20'): assert_tables works ───────────────────────────
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     ▆
     1. ├─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir()) at test-validate.R:20:2
     2. └─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir())
     3. └─duckdb (local) .local(drv, ...)
     4. └─duckdb::duckdb(dbdir, read_only, bigint, config)
     5. ├─methods::new(...)
     6. │ ├─methods::initialize(value, ...)
     7. │ └─methods::initialize(value, ...)
     8. └─duckdb:::rapi_startup(dbdir, read_only, config)
    
     [ FAIL 9 | WARN 0 | SKIP 26 | PASS 11 ]
     Error: Test failures
     Execution halted
     Warning messages:
     1: Connection is garbage-collected, use dbDisconnect() to avoid this.
     2: Database is garbage-collected, use dbDisconnect(con, shutdown=TRUE) or duckdb::duckdb_shutdown(drv) to avoid this.
Flavor: r-patched-linux-x86_64

Version: 0.3.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [27s/32s]
    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(CDMConnector)
     >
     > test_check("CDMConnector")
     [ FAIL 9 | WARN 0 | SKIP 26 | PASS 11 ]
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • CirceR cannot be loaded (1)
     • Sys.getenv("CDM5_POSTGRESQL_USER") == "" is TRUE (7)
     • Sys.getenv("CDM5_REDSHIFT_USER") == "" is TRUE (7)
     • Sys.getenv("CDM5_SQL_SERVER_USER") == "" is TRUE (7)
     • Sys.getenv("LOCAL_POSTGRESQL_USER") == "" is TRUE (3)
     • Sys.getenv("REDSHIFT_USER") == "" is TRUE (1)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error ('test-cdm.R:140'): cdm reference works on duckdb ─────────────────────
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     ▆
     1. ├─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir()) at test-cdm.R:140:2
     2. └─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir())
     3. └─duckdb (local) .local(drv, ...)
     4. └─duckdb::duckdb(dbdir, read_only, bigint, config)
     5. ├─methods::new(...)
     6. │ ├─methods::initialize(value, ...)
     7. │ └─methods::initialize(value, ...)
     8. └─duckdb:::rapi_startup(dbdir, read_only, config)
     ── Error ('test-cdm.R:162'): inclusion of cohort tables ────────────────────────
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     ▆
     1. ├─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir()) at test-cdm.R:162:2
     2. └─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir())
     3. └─duckdb (local) .local(drv, ...)
     4. └─duckdb::duckdb(dbdir, read_only, bigint, config)
     5. ├─methods::new(...)
     6. │ ├─methods::initialize(value, ...)
     7. │ └─methods::initialize(value, ...)
     8. └─duckdb:::rapi_startup(dbdir, read_only, config)
     ── Error ('test-cdm.R:192'): collect a cdm ─────────────────────────────────────
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     ▆
     1. ├─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir()) at test-cdm.R:192:2
     2. └─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir())
     3. └─duckdb (local) .local(drv, ...)
     4. └─duckdb::duckdb(dbdir, read_only, bigint, config)
     5. ├─methods::new(...)
     6. │ ├─methods::initialize(value, ...)
     7. │ └─methods::initialize(value, ...)
     8. └─duckdb:::rapi_startup(dbdir, read_only, config)
     ── Error ('test-cdm.R:217'): stow and cdm_from_files works ─────────────────────
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     ▆
     1. ├─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir()) at test-cdm.R:217:2
     2. └─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir())
     3. └─duckdb (local) .local(drv, ...)
     4. └─duckdb::duckdb(dbdir, read_only, bigint, config)
     5. ├─methods::new(...)
     6. │ ├─methods::initialize(value, ...)
     7. │ └─methods::initialize(value, ...)
     8. └─duckdb:::rapi_startup(dbdir, read_only, config)
     ── Error ('test-cdm.R:374'): autodetect cdm version works ──────────────────────
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     ▆
     1. ├─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir()) at test-cdm.R:374:2
     2. └─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir())
     3. └─duckdb (local) .local(drv, ...)
     4. └─duckdb::duckdb(dbdir, read_only, bigint, config)
     5. ├─methods::new(...)
     6. │ ├─methods::initialize(value, ...)
     7. │ └─methods::initialize(value, ...)
     8. └─duckdb:::rapi_startup(dbdir, read_only, config)
     ── Error ('test-computePermanent.R:7'): computePermanent works on duckdb ───────
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     ▆
     1. ├─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir()) at test-computePermanent.R:7:2
     2. └─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir())
     3. └─duckdb (local) .local(drv, ...)
     4. └─duckdb::duckdb(dbdir, read_only, bigint, config)
     5. ├─methods::new(...)
     6. │ ├─methods::initialize(value, ...)
     7. │ └─methods::initialize(value, ...)
     8. └─duckdb:::rapi_startup(dbdir, read_only, config)
     ── Error ('test-dbConnectDetails.R:81'): dbConnectDetails works on duckdb ──────
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     ▆
     1. └─CDMConnector (local) self_contained_query(details, "main") at test-dbConnectDetails.R:81:2
     2. ├─base::suppressMessages(...) at test-dbConnectDetails.R:6:2
     3. │ └─base::withCallingHandlers(...)
     4. ├─DBI::dbConnect(connection_details) at test-dbConnectDetails.R:7:4
     5. └─DBI::dbConnect(connection_details)
     6. └─CDMConnector (local) .local(drv, ...)
     7. ├─rlang::inject(DBI::dbConnect(!!!l))
     8. ├─DBI::dbConnect(`<dckdb_dr>`, dbdir = "/tmp/RtmpQsLVkP/ehnspmhc/cdm.duckdb")
     9. └─DBI::dbConnect(`<dckdb_dr>`, dbdir = "/tmp/RtmpQsLVkP/ehnspmhc/cdm.duckdb")
     10. └─duckdb (local) .local(drv, ...)
     11. └─duckdb::duckdb(dbdir, read_only, bigint, config)
     12. ├─methods::new(...)
     13. │ ├─methods::initialize(value, ...)
     14. │ └─methods::initialize(value, ...)
     15. └─duckdb:::rapi_startup(dbdir, read_only, config)
     ── Error ('test-validate.R:5'): validate cdm works ─────────────────────────────
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     ▆
     1. ├─DBI::dbConnect(duckdb::duckdb(), eunomia_dir()) at test-validate.R:5:2
     2. └─DBI::dbConnect(duckdb::duckdb(), eunomia_dir())
     3. └─duckdb (local) .local(drv, ...)
     4. └─duckdb::duckdb(dbdir, read_only, bigint, config)
     5. ├─methods::new(...)
     6. │ ├─methods::initialize(value, ...)
     7. │ └─methods::initialize(value, ...)
     8. └─duckdb:::rapi_startup(dbdir, read_only, config)
     ── Error ('test-validate.R:20'): assert_tables works ───────────────────────────
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     ▆
     1. ├─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir()) at test-validate.R:20:2
     2. └─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir())
     3. └─duckdb (local) .local(drv, ...)
     4. └─duckdb::duckdb(dbdir, read_only, bigint, config)
     5. ├─methods::new(...)
     6. │ ├─methods::initialize(value, ...)
     7. │ └─methods::initialize(value, ...)
     8. └─duckdb:::rapi_startup(dbdir, read_only, config)
    
     [ FAIL 9 | WARN 0 | SKIP 26 | PASS 11 ]
     Error: Test failures
     Execution halted
     Warning messages:
     1: Connection is garbage-collected, use dbDisconnect() to avoid this.
     2: Database is garbage-collected, use dbDisconnect(con, shutdown=TRUE) or duckdb::duckdb_shutdown(drv) to avoid this.
Flavor: r-release-linux-x86_64

Version: 0.3.1
Check: tests
Result: ERROR
     Running 'testthat.R' [31s]
    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(CDMConnector)
     >
     > test_check("CDMConnector")
     [ FAIL 9 | WARN 0 | SKIP 26 | PASS 11 ]
    
     == Skipped tests ===============================================================
     * CirceR cannot be loaded (1)
     * Sys.getenv("CDM5_POSTGRESQL_USER") == "" is TRUE (7)
     * Sys.getenv("CDM5_REDSHIFT_USER") == "" is TRUE (7)
     * Sys.getenv("CDM5_SQL_SERVER_USER") == "" is TRUE (7)
     * Sys.getenv("LOCAL_POSTGRESQL_USER") == "" is TRUE (3)
     * Sys.getenv("REDSHIFT_USER") == "" is TRUE (1)
    
     == Failed tests ================================================================
     -- Error ('test-cdm.R:140'): cdm reference works on duckdb ---------------------
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     x
     1. +-DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir()) at test-cdm.R:140:2
     2. \-DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir())
     3. \-duckdb (local) .local(drv, ...)
     4. \-duckdb::duckdb(dbdir, read_only, bigint, config)
     5. +-methods::new(...)
     6. | +-methods::initialize(value, ...)
     7. | \-methods::initialize(value, ...)
     8. \-duckdb:::rapi_startup(dbdir, read_only, config)
     -- Error ('test-cdm.R:162'): inclusion of cohort tables ------------------------
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     x
     1. +-DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir()) at test-cdm.R:162:2
     2. \-DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir())
     3. \-duckdb (local) .local(drv, ...)
     4. \-duckdb::duckdb(dbdir, read_only, bigint, config)
     5. +-methods::new(...)
     6. | +-methods::initialize(value, ...)
     7. | \-methods::initialize(value, ...)
     8. \-duckdb:::rapi_startup(dbdir, read_only, config)
     -- Error ('test-cdm.R:192'): collect a cdm -------------------------------------
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     x
     1. +-DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir()) at test-cdm.R:192:2
     2. \-DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir())
     3. \-duckdb (local) .local(drv, ...)
     4. \-duckdb::duckdb(dbdir, read_only, bigint, config)
     5. +-methods::new(...)
     6. | +-methods::initialize(value, ...)
     7. | \-methods::initialize(value, ...)
     8. \-duckdb:::rapi_startup(dbdir, read_only, config)
     -- Error ('test-cdm.R:217'): stow and cdm_from_files works ---------------------
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     x
     1. +-DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir()) at test-cdm.R:217:2
     2. \-DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir())
     3. \-duckdb (local) .local(drv, ...)
     4. \-duckdb::duckdb(dbdir, read_only, bigint, config)
     5. +-methods::new(...)
     6. | +-methods::initialize(value, ...)
     7. | \-methods::initialize(value, ...)
     8. \-duckdb:::rapi_startup(dbdir, read_only, config)
     -- Error ('test-cdm.R:374'): autodetect cdm version works ----------------------
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     x
     1. +-DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir()) at test-cdm.R:374:2
     2. \-DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir())
     3. \-duckdb (local) .local(drv, ...)
     4. \-duckdb::duckdb(dbdir, read_only, bigint, config)
     5. +-methods::new(...)
     6. | +-methods::initialize(value, ...)
     7. | \-methods::initialize(value, ...)
     8. \-duckdb:::rapi_startup(dbdir, read_only, config)
     -- Error ('test-computePermanent.R:7'): computePermanent works on duckdb -------
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     x
     1. +-DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir()) at test-computePermanent.R:7:2
     2. \-DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir())
     3. \-duckdb (local) .local(drv, ...)
     4. \-duckdb::duckdb(dbdir, read_only, bigint, config)
     5. +-methods::new(...)
     6. | +-methods::initialize(value, ...)
     7. | \-methods::initialize(value, ...)
     8. \-duckdb:::rapi_startup(dbdir, read_only, config)
     -- Error ('test-dbConnectDetails.R:81'): dbConnectDetails works on duckdb ------
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     x
     1. \-CDMConnector (local) self_contained_query(details, "main") at test-dbConnectDetails.R:81:2
     2. +-base::suppressMessages(...) at test-dbConnectDetails.R:6:2
     3. | \-base::withCallingHandlers(...)
     4. +-DBI::dbConnect(connection_details) at test-dbConnectDetails.R:7:4
     5. \-DBI::dbConnect(connection_details)
     6. \-CDMConnector (local) .local(drv, ...)
     7. +-rlang::inject(DBI::dbConnect(!!!l))
     8. +-DBI::dbConnect(`<dckdb_dr>`, dbdir = "D:\\temp\\RtmpaCjmxS/jzedmbux/cdm.duckdb")
     9. \-DBI::dbConnect(`<dckdb_dr>`, dbdir = "D:\\temp\\RtmpaCjmxS/jzedmbux/cdm.duckdb")
     10. \-duckdb (local) .local(drv, ...)
     11. \-duckdb::duckdb(dbdir, read_only, bigint, config)
     12. +-methods::new(...)
     13. | +-methods::initialize(value, ...)
     14. | \-methods::initialize(value, ...)
     15. \-duckdb:::rapi_startup(dbdir, read_only, config)
     -- Error ('test-validate.R:5'): validate cdm works -----------------------------
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     x
     1. +-DBI::dbConnect(duckdb::duckdb(), eunomia_dir()) at test-validate.R:5:2
     2. \-DBI::dbConnect(duckdb::duckdb(), eunomia_dir())
     3. \-duckdb (local) .local(drv, ...)
     4. \-duckdb::duckdb(dbdir, read_only, bigint, config)
     5. +-methods::new(...)
     6. | +-methods::initialize(value, ...)
     7. | \-methods::initialize(value, ...)
     8. \-duckdb:::rapi_startup(dbdir, read_only, config)
     -- Error ('test-validate.R:20'): assert_tables works ---------------------------
     Error: rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
     The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
     The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
     The storage will be stabilized when version 1.0 releases.
    
     For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
     See the storage page for more information: https://duckdb.org/internals/storage
     Backtrace:
     x
     1. +-DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir()) at test-validate.R:20:2
     2. \-DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir())
     3. \-duckdb (local) .local(drv, ...)
     4. \-duckdb::duckdb(dbdir, read_only, bigint, config)
     5. +-methods::new(...)
     6. | +-methods::initialize(value, ...)
     7. | \-methods::initialize(value, ...)
     8. \-duckdb:::rapi_startup(dbdir, read_only, config)
    
     [ FAIL 9 | WARN 0 | SKIP 26 | PASS 11 ]
     Error: Test failures
     Execution halted
     Warning messages:
     1: Connection is garbage-collected, use dbDisconnect() to avoid this.
     2: Database is garbage-collected, use dbDisconnect(con, shutdown=TRUE) or duckdb::duckdb_shutdown(drv) to avoid this.
Flavor: r-oldrel-windows-ix86+x86_64

Version: 0.3.1
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
    --- re-building 'DBI_connection_examples.Rmd' using rmarkdown
    --- finished re-building 'DBI_connection_examples.Rmd'
    
    --- re-building 'SQL.Rmd' using rmarkdown
    --- finished re-building 'SQL.Rmd'
    
    --- re-building 'cdm_reference_backends.Rmd' using rmarkdown
    Quitting from lines 46-65 (cdm_reference_backends.Rmd)
    Error: processing vignette 'cdm_reference_backends.Rmd' failed with diagnostics:
    rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
    The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
    The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
    The storage will be stabilized when version 1.0 releases.
    
    For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
    See the storage page for more information: https://duckdb.org/internals/storage
    --- failed re-building 'cdm_reference_backends.Rmd'
    
    --- re-building 'dbplyr.Rmd' using rmarkdown
    Quitting from lines 38-41 (dbplyr.Rmd)
    Error: processing vignette 'dbplyr.Rmd' failed with diagnostics:
    rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
    The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
    The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
    The storage will be stabilized when version 1.0 releases.
    
    For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
    See the storage page for more information: https://duckdb.org/internals/storage
    --- failed re-building 'dbplyr.Rmd'
    
    --- re-building 'getting-started.Rmd' using rmarkdown
    Quitting from lines 30-35 (getting-started.Rmd)
    Error: processing vignette 'getting-started.Rmd' failed with diagnostics:
    rapi_startup: Failed to open database: IO Error: Trying to read a database file with version number 39, but we can only read version 41.
    The database file was created with DuckDB version v0.6.0 or v0.6.1.
    
    The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa.
    The storage will be stabilized when version 1.0 releases.
    
    For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
    
    See the storage page for more information: https://duckdb.org/internals/storage
    --- failed re-building 'getting-started.Rmd'
    
    SUMMARY: processing the following files failed:
     'cdm_reference_backends.Rmd' 'dbplyr.Rmd' 'getting-started.Rmd'
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-oldrel-windows-ix86+x86_64