Running 'testthat.R' [27s]
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")
  trying URL 'https://example-data.ohdsi.dev/GiBleed.zip'
  Downloading GiBleed
  trying URL 'https://example-data.ohdsi.dev/GiBleed.zip'
  Downloading GiBleed
  trying URL 'https://example-data.ohdsi.dev/GiBleed.zip'
  Downloading GiBleed
  trying URL 'https://example-data.ohdsi.dev/GiBleed.zip'
  Downloading GiBleed
  trying URL 'https://example-data.ohdsi.dev/GiBleed.zip'
  Downloading GiBleed
  trying URL 'https://example-data.ohdsi.dev/GiBleed.zip'
  Downloading GiBleed
  trying URL 'https://example-data.ohdsi.dev/GiBleed.zip'
  Downloading GiBleed
  trying URL 'https://example-data.ohdsi.dev/GiBleed.zip'
  Downloading GiBleed
  trying URL 'https://example-data.ohdsi.dev/GiBleed.zip'
  Downloading GiBleed
  trying URL 'https://example-data.ohdsi.dev/GiBleed.zip'
  Downloading GiBleed
  trying URL 'https://example-data.ohdsi.dev/GiBleed.zip'
  Downloading GiBleed
  trying URL 'https://example-data.ohdsi.dev/GiBleed.zip'
  Downloading GiBleed
  trying URL 'https://example-data.ohdsi.dev/GiBleed.zip'
  Downloading GiBleed
  trying URL 'https://example-data.ohdsi.dev/GiBleed.zip'
  Downloading GiBleed
  trying URL 'https://example-data.ohdsi.dev/GiBleed.zip'
  Downloading GiBleed
  trying URL 'https://example-data.ohdsi.dev/GiBleed.zip'
  Downloading GiBleed
  trying URL 'https://example-data.ohdsi.dev/GiBleed.zip'
  Downloading GiBleed
  trying URL 'https://example-data.ohdsi.dev/GiBleed.zip'
  Downloading GiBleed
  trying URL 'https://example-data.ohdsi.dev/GiBleed.zip'
  Downloading GiBleed
  trying URL 'https://example-data.ohdsi.dev/GiBleed.zip'
  Downloading GiBleed
  trying URL 'https://example-data.ohdsi.dev/GiBleed.zip'
  Downloading GiBleed
  trying URL 'https://example-data.ohdsi.dev/GiBleed.zip'
  Downloading GiBleed
  trying URL 'https://example-data.ohdsi.dev/GiBleed.zip'
  Content type 'application/zip' length 6754786 bytes (6.4 MB)
  ==================================================
  downloaded 6.4 MB
  
  
  Download completed!
  Creating CDM database D:\temp\RtmpAD9pes\file27e9c167b2591/GiBleed_5.3.zip
  [ FAIL 21 | WARN 21 | SKIP 102 | PASS 29 ]
  
  ══ Skipped tests (102) ═════════════════════════════════════════════════════════
  • CirceR cannot be loaded (13): 'test-db-generateCohortSet.R:71:5',
    'test-db-generateCohortSet.R:71:5', 'test-db-generateCohortSet.R:71:5',
    'test-db-generateCohortSet.R:71:5', 'test-db-generateCohortSet.R:71:5',
    'test-db-generateCohortSet.R:71:5',
    'test-db-generateConceptCohortSet.R:162:5',
    'test-db-generateConceptCohortSet.R:162:5',
    'test-db-generateConceptCohortSet.R:162:5',
    'test-db-generateConceptCohortSet.R:162:5',
    'test-db-generateConceptCohortSet.R:162:5',
    'test-db-generateConceptCohortSet.R:162:5',
    'test-db-recordCohortAttrition.R:132:3'
  • TreatmentPatterns cannot be loaded (1): 'test-db-generateCohortSet.R:208:3'
  • any(write_schema == "") is TRUE (5): 'test-db-dateadd.R:108:5',
    'test-db-dateadd.R:108:5', 'test-db-dateadd.R:108:5',
    'test-db-dateadd.R:108:5', 'test-db-dateadd.R:108:5'
  • any(write_schema == "") || any(cdm_schema == "") || is.null(con) is TRUE
    (39): 'test-db-DBI.R:87:5', 'test-db-DBI.R:87:5', 'test-db-DBI.R:87:5',
    'test-db-DBI.R:87:5', 'test-db-DBI.R:87:5', 'test-db-casing.R:32:5',
    'test-db-casing.R:32:5', 'test-db-casing.R:32:5', 'test-db-casing.R:32:5',
    'test-db-casing.R:32:5', 'test-db-cdm.R:46:5', 'test-db-cdm.R:46:5',
    'test-db-cdm.R:46:5', 'test-db-cdm.R:46:5', 'test-db-cdm.R:46:5',
    'test-db-compute.R:84:5', 'test-db-compute.R:84:5', 'test-db-compute.R:84:5',
    'test-db-compute.R:84:5', 'test-db-compute.R:84:5',
    'test-db-example-analysis.R:206:5', 'test-db-example-analysis.R:206:5',
    'test-db-example-analysis.R:206:5', 'test-db-example-analysis.R:206:5',
    'test-db-newGeneratedCohortSet.R:94:5',
    'test-db-newGeneratedCohortSet.R:94:5',
    'test-db-newGeneratedCohortSet.R:94:5',
    'test-db-newGeneratedCohortSet.R:94:5',
    'test-db-newGeneratedCohortSet.R:94:5',
    'test-db-recordCohortAttrition.R:125:5',
    'test-db-recordCohortAttrition.R:125:5',
    'test-db-recordCohortAttrition.R:125:5',
    'test-db-recordCohortAttrition.R:125:5',
    'test-db-recordCohortAttrition.R:125:5', 'test-db-utils.R:69:5',
    'test-db-utils.R:69:5', 'test-db-utils.R:69:5', 'test-db-utils.R:69:5',
    'test-db-utils.R:69:5'
  • any(write_schema == "") || is.null(con) is TRUE (25):
    'test-db-cohortTransformations.R:267:5',
    'test-db-cohortTransformations.R:267:5',
    'test-db-cohortTransformations.R:267:5',
    'test-db-cohortTransformations.R:267:5',
    'test-db-cohortTransformations.R:267:5', 'test-db-cohort_ddl.R:35:5',
    'test-db-cohort_ddl.R:35:5', 'test-db-cohort_ddl.R:35:5',
    'test-db-cohort_ddl.R:35:5', 'test-db-cohort_ddl.R:35:5',
    'test-db-copy_cdm_to.R:32:5', 'test-db-copy_cdm_to.R:32:5',
    'test-db-copy_cdm_to.R:32:5', 'test-db-copy_cdm_to.R:32:5',
    'test-db-copy_cdm_to.R:32:5', 'test-db-summariseQuantile.R:62:5',
    'test-db-summariseQuantile.R:62:5', 'test-db-summariseQuantile.R:62:5',
    'test-db-summariseQuantile.R:62:5', 'test-db-summariseQuantile.R:62:5',
    'test-db-verify_write_schema.R:20:5', 'test-db-verify_write_schema.R:20:5',
    'test-db-verify_write_schema.R:20:5', 'test-db-verify_write_schema.R:20:5',
    'test-db-verify_write_schema.R:20:5'
  • eunomia_is_available() is not TRUE (5): 'test-db-cdm.R:53:3',
    'test-db-generateCohortSet.R:83:3', 'test-db-generateCohortSet.R:157:3',
    'test-db-utils.R:86:3', 'test-db-utils.R:110:3'
  • failing test (4): 'test-db-dateadd.R:125:3', 'test-db-temp-tables.R:47:5',
    'test-db-temp-tables.R:47:5', 'test-db-temp-tables.R:47:5'
  • get_write_schema(dbtype) == "" is TRUE (2): 'test-db-temp-tables.R:48:5',
    'test-db-temp-tables.R:48:5'
  • manual test (3): 'test-Eunomia.R:2:3', 'test-db-copy_cdm_to.R:62:3',
    'test-db-generateCohortSet.R:190:3'
  • write_schema == "" is TRUE (5): 'test-zzz-DBI.R:58:5', 'test-zzz-DBI.R:58:5',
    'test-zzz-DBI.R:58:5', 'test-zzz-DBI.R:58:5', 'test-zzz-DBI.R:58:5'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-cdm_tranformations.R:2:3'): cdm_sample works ───────────────────
  Error in `utils::download.file(url = glue::glue("https://example-data.ohdsi.dev/{datasetName}.zip"), 
      destfile = file.path(pathToData, zipName), mode = "wb", method = "auto", 
      quiet = FALSE, extra = list(progressfunction = function(downloaded, 
          total) {
          progress <- min(1, downloaded/total)
          cli::cli_progress_update(id = pb, set = progress)
      }))`: cannot open URL 'https://example-data.ohdsi.dev/GiBleed.zip'
  Backtrace:
       ▆
    1. ├─DBI::dbConnect(duckdb::duckdb(), eunomia_dir()) at test-cdm_tranformations.R:2:2
    2. ├─DBI::dbConnect(duckdb::duckdb(), eunomia_dir())
    3. │ └─duckdb (local) .local(drv, ...)
    4. │   └─base::path.expand(as.character(dbdir))
    5. └─CDMConnector::eunomia_dir()
    6.   └─CDMConnector::eunomiaDir(...)
    7.     └─CDMConnector::downloadEunomiaData(...)
    8.       ├─withr::with_options(...)
    9.       │ └─base::force(code)
   10.       └─utils::download.file(...)
  ── Error ('test-db-DBI.R:86:5'): duckdb - dbi ──────────────────────────────────
  Error in `utils::download.file(url = glue::glue("https://example-data.ohdsi.dev/{datasetName}.zip"), 
      destfile = file.path(pathToData, zipName), mode = "wb", method = "auto", 
      quiet = FALSE, extra = list(progressfunction = function(downloaded, 
          total) {
          progress <- min(1, downloaded/total)
          cli::cli_progress_update(id = pb, set = progress)
      }))`: cannot open URL 'https://example-data.ohdsi.dev/GiBleed.zip'
  Backtrace:
       ▆
    1. └─CDMConnector:::get_connection(dbtype) at test-db-DBI.R:86:4
    2.   ├─DBI::dbConnect(duckdb::duckdb(), eunomia_dir()) at D:\RCompile\CRANpkg\local\4.4\CDMConnector.Rcheck\tests\testthat\setup.R:15:4
    3.   ├─DBI::dbConnect(duckdb::duckdb(), eunomia_dir())
    4.   │ └─duckdb (local) .local(drv, ...)
    5.   │   └─base::path.expand(as.character(dbdir))
    6.   └─CDMConnector::eunomia_dir()
    7.     └─CDMConnector::eunomiaDir(...)
    8.       └─CDMConnector::downloadEunomiaData(...)
    9.         ├─withr::with_options(...)
   10.         │ └─base::force(code)
   11.         └─utils::download.file(...)
  ── Error ('test-db-casing.R:29:5'): duckdb - lowercase columns ─────────────────
  Error in `utils::download.file(url = glue::glue("https://example-data.ohdsi.dev/{datasetName}.zip"), 
      destfile = file.path(pathToData, zipName), mode = "wb", method = "auto", 
      quiet = FALSE, extra = list(progressfunction = function(downloaded, 
          total) {
          progress <- min(1, downloaded/total)
          cli::cli_progress_update(id = pb, set = progress)
      }))`: cannot open URL 'https://example-data.ohdsi.dev/GiBleed.zip'
  Backtrace:
       ▆
    1. └─CDMConnector:::get_connection(dbtype) at test-db-casing.R:29:4
    2.   ├─DBI::dbConnect(duckdb::duckdb(), eunomia_dir()) at D:\RCompile\CRANpkg\local\4.4\CDMConnector.Rcheck\tests\testthat\setup.R:15:4
    3.   ├─DBI::dbConnect(duckdb::duckdb(), eunomia_dir())
    4.   │ └─duckdb (local) .local(drv, ...)
    5.   │   └─base::path.expand(as.character(dbdir))
    6.   └─CDMConnector::eunomia_dir() at D:\RCompile\CRANpkg\local\4.4\CDMConnector.Rcheck\tests\testthat\setup.R:15:4
    7.     └─CDMConnector::eunomiaDir(...)
    8.       └─CDMConnector::downloadEunomiaData(...)
    9.         ├─withr::with_options(...)
   10.         │ └─base::force(code)
   11.         └─utils::download.file(...)
  ── Error ('test-db-cdm.R:43:5'): duckdb - cdm_from_con ─────────────────────────
  Error in `utils::download.file(url = glue::glue("https://example-data.ohdsi.dev/{datasetName}.zip"), 
      destfile = file.path(pathToData, zipName), mode = "wb", method = "auto", 
      quiet = FALSE, extra = list(progressfunction = function(downloaded, 
          total) {
          progress <- min(1, downloaded/total)
          cli::cli_progress_update(id = pb, set = progress)
      }))`: cannot open URL 'https://example-data.ohdsi.dev/GiBleed.zip'
  Backtrace:
       ▆
    1. └─CDMConnector:::get_connection(dbtype) at test-db-cdm.R:43:4
    2.   ├─DBI::dbConnect(duckdb::duckdb(), eunomia_dir()) at D:\RCompile\CRANpkg\local\4.4\CDMConnector.Rcheck\tests\testthat\setup.R:15:4
    3.   ├─DBI::dbConnect(duckdb::duckdb(), eunomia_dir())
    4.   │ └─duckdb (local) .local(drv, ...)
    5.   │   └─base::path.expand(as.character(dbdir))
    6.   └─CDMConnector::eunomia_dir() at D:\RCompile\CRANpkg\local\4.4\CDMConnector.Rcheck\tests\testthat\setup.R:15:4
    7.     └─CDMConnector::eunomiaDir(...)
    8.       └─CDMConnector::downloadEunomiaData(...)
    9.         ├─withr::with_options(...)
   10.         │ └─base::force(code)
   11.         └─utils::download.file(...)
  ── Error ('test-db-cohortTransformations.R:266:5'): duckdb - cohort_collapse ───
  Error in `utils::download.file(url = glue::glue("https://example-data.ohdsi.dev/{datasetName}.zip"), 
      destfile = file.path(pathToData, zipName), mode = "wb", method = "auto", 
      quiet = FALSE, extra = list(progressfunction = function(downloaded, 
          total) {
          progress <- min(1, downloaded/total)
          cli::cli_progress_update(id = pb, set = progress)
      }))`: cannot open URL 'https://example-data.ohdsi.dev/GiBleed.zip'
  Backtrace:
       ▆
    1. └─CDMConnector:::get_connection(dbtype) at test-db-cohortTransformations.R:266:4
    2.   ├─DBI::dbConnect(duckdb::duckdb(), eunomia_dir()) at D:\RCompile\CRANpkg\local\4.4\CDMConnector.Rcheck\tests\testthat\setup.R:15:4
    3.   ├─DBI::dbConnect(duckdb::duckdb(), eunomia_dir())
    4.   │ └─duckdb (local) .local(drv, ...)
    5.   │   └─base::path.expand(as.character(dbdir))
    6.   └─CDMConnector::eunomia_dir() at D:\RCompile\CRANpkg\local\4.4\CDMConnector.Rcheck\tests\testthat\setup.R:15:4
    7.     └─CDMConnector::eunomiaDir(...)
    8.       └─CDMConnector::downloadEunomiaData(...)
    9.         ├─withr::with_options(...)
   10.         │ └─base::force(code)
   11.         └─utils::download.file(...)
  ── Error ('test-db-cohort_ddl.R:33:5'): duckdb - createCohortTables ────────────
  Error in `utils::download.file(url = glue::glue("https://example-data.ohdsi.dev/{datasetName}.zip"), 
      destfile = file.path(pathToData, zipName), mode = "wb", method = "auto", 
      quiet = FALSE, extra = list(progressfunction = function(downloaded, 
          total) {
          progress <- min(1, downloaded/total)
          cli::cli_progress_update(id = pb, set = progress)
      }))`: cannot open URL 'https://example-data.ohdsi.dev/GiBleed.zip'
  Backtrace:
       ▆
    1. └─CDMConnector:::get_connection(dbtype) at test-db-cohort_ddl.R:33:4
    2.   ├─DBI::dbConnect(duckdb::duckdb(), eunomia_dir()) at D:\RCompile\CRANpkg\local\4.4\CDMConnector.Rcheck\tests\testthat\setup.R:15:4
    3.   ├─DBI::dbConnect(duckdb::duckdb(), eunomia_dir())
    4.   │ └─duckdb (local) .local(drv, ...)
    5.   │   └─base::path.expand(as.character(dbdir))
    6.   └─CDMConnector::eunomia_dir() at D:\RCompile\CRANpkg\local\4.4\CDMConnector.Rcheck\tests\testthat\setup.R:15:4
    7.     └─CDMConnector::eunomiaDir(...)
    8.       └─CDMConnector::downloadEunomiaData(...)
    9.         ├─withr::with_options(...)
   10.         │ └─base::force(code)
   11.         └─utils::download.file(...)
  ── Error ('test-db-compute.R:81:5'): duckdb - compute_query ────────────────────
  Error in `utils::download.file(url = glue::glue("https://example-data.ohdsi.dev/{datasetName}.zip"), 
      destfile = file.path(pathToData, zipName), mode = "wb", method = "auto", 
      quiet = FALSE, extra = list(progressfunction = function(downloaded, 
          total) {
          progress <- min(1, downloaded/total)
          cli::cli_progress_update(id = pb, set = progress)
      }))`: cannot open URL 'https://example-data.ohdsi.dev/GiBleed.zip'
  Backtrace:
       ▆
    1. └─CDMConnector:::get_connection(dbtype) at test-db-compute.R:81:4
    2.   ├─DBI::dbConnect(duckdb::duckdb(), eunomia_dir()) at D:\RCompile\CRANpkg\local\4.4\CDMConnector.Rcheck\tests\testthat\setup.R:15:4
    3.   ├─DBI::dbConnect(duckdb::duckdb(), eunomia_dir())
    4.   │ └─duckdb (local) .local(drv, ...)
    5.   │   └─base::path.expand(as.character(dbdir))
    6.   └─CDMConnector::eunomia_dir() at D:\RCompile\CRANpkg\local\4.4\CDMConnector.Rcheck\tests\testthat\setup.R:15:4
    7.     └─CDMConnector::eunomiaDir(...)
    8.       └─CDMConnector::downloadEunomiaData(...)
    9.         ├─withr::with_options(...)
   10.         │ └─base::force(code)
   11.         └─utils::download.file(...)
  ── Error ('test-db-copy_cdm_to.R:29:5'): duckdb - copy_cdm_to ──────────────────
  Error in `utils::download.file(url = glue::glue("https://example-data.ohdsi.dev/{datasetName}.zip"), 
      destfile = file.path(pathToData, zipName), mode = "wb", method = "auto", 
      quiet = FALSE, extra = list(progressfunction = function(downloaded, 
          total) {
          progress <- min(1, downloaded/total)
          cli::cli_progress_update(id = pb, set = progress)
      }))`: cannot open URL 'https://example-data.ohdsi.dev/GiBleed.zip'
  Backtrace:
       ▆
    1. └─CDMConnector:::get_connection(dbtype) at test-db-copy_cdm_to.R:29:4
    2.   ├─DBI::dbConnect(duckdb::duckdb(), eunomia_dir()) at D:\RCompile\CRANpkg\local\4.4\CDMConnector.Rcheck\tests\testthat\setup.R:15:4
    3.   ├─DBI::dbConnect(duckdb::duckdb(), eunomia_dir())
    4.   │ └─duckdb (local) .local(drv, ...)
    5.   │   └─base::path.expand(as.character(dbdir))
    6.   └─CDMConnector::eunomia_dir() at D:\RCompile\CRANpkg\local\4.4\CDMConnector.Rcheck\tests\testthat\setup.R:15:4
    7.     └─CDMConnector::eunomiaDir(...)
    8.       └─CDMConnector::downloadEunomiaData(...)
    9.         ├─withr::with_options(...)
   10.         │ └─base::force(code)
   11.         └─utils::download.file(...)
  ── Error ('test-db-copy_cdm_to.R:39:3'): duckdb - copy_cdm_to without prefix ───
  Error in `utils::download.file(url = glue::glue("https://example-data.ohdsi.dev/{datasetName}.zip"), 
      destfile = file.path(pathToData, zipName), mode = "wb", method = "auto", 
      quiet = FALSE, extra = list(progressfunction = function(downloaded, 
          total) {
          progress <- min(1, downloaded/total)
          cli::cli_progress_update(id = pb, set = progress)
      }))`: cannot open URL 'https://example-data.ohdsi.dev/GiBleed.zip'
  Backtrace:
       ▆
    1. ├─DBI::dbConnect(duckdb::duckdb(), eunomia_dir()) at test-db-copy_cdm_to.R:39:2
    2. ├─DBI::dbConnect(duckdb::duckdb(), eunomia_dir())
    3. │ └─duckdb (local) .local(drv, ...)
    4. │   └─base::path.expand(as.character(dbdir))
    5. └─CDMConnector::eunomia_dir()
    6.   └─CDMConnector::eunomiaDir(...)
    7.     └─CDMConnector::downloadEunomiaData(...)
    8.       ├─withr::with_options(...)
    9.       │ └─base::force(code)
   10.       └─utils::download.file(...)
  ── Error ('test-db-dateadd.R:109:5'): duckdb - date functions ──────────────────
  Error in `utils::download.file(url = glue::glue("https://example-data.ohdsi.dev/{datasetName}.zip"), 
      destfile = file.path(pathToData, zipName), mode = "wb", method = "auto", 
      quiet = FALSE, extra = list(progressfunction = function(downloaded, 
          total) {
          progress <- min(1, downloaded/total)
          cli::cli_progress_update(id = pb, set = progress)
      }))`: cannot open URL 'https://example-data.ohdsi.dev/GiBleed.zip'
  Backtrace:
       ▆
    1. └─CDMConnector:::get_connection(dbtype) at test-db-dateadd.R:109:4
    2.   ├─DBI::dbConnect(duckdb::duckdb(), eunomia_dir()) at D:\RCompile\CRANpkg\local\4.4\CDMConnector.Rcheck\tests\testthat\setup.R:15:4
    3.   ├─DBI::dbConnect(duckdb::duckdb(), eunomia_dir())
    4.   │ └─duckdb (local) .local(drv, ...)
    5.   │   └─base::path.expand(as.character(dbdir))
    6.   └─CDMConnector::eunomia_dir() at D:\RCompile\CRANpkg\local\4.4\CDMConnector.Rcheck\tests\testthat\setup.R:15:4
    7.     └─CDMConnector::eunomiaDir(...)
    8.       └─CDMConnector::downloadEunomiaData(...)
    9.         ├─withr::with_options(...)
   10.         │ └─base::force(code)
   11.         └─utils::download.file(...)
  ── Error ('test-db-example-analysis.R:202:5'): duckdb - checking common usage ──
  Error in `utils::download.file(url = glue::glue("https://example-data.ohdsi.dev/{datasetName}.zip"), 
      destfile = file.path(pathToData, zipName), mode = "wb", method = "auto", 
      quiet = FALSE, extra = list(progressfunction = function(downloaded, 
          total) {
          progress <- min(1, downloaded/total)
          cli::cli_progress_update(id = pb, set = progress)
      }))`: cannot open URL 'https://example-data.ohdsi.dev/GiBleed.zip'
  Backtrace:
       ▆
    1. └─CDMConnector:::get_connection(dbtype) at test-db-example-analysis.R:202:4
    2.   ├─DBI::dbConnect(duckdb::duckdb(), eunomia_dir()) at D:\RCompile\CRANpkg\local\4.4\CDMConnector.Rcheck\tests\testthat\setup.R:15:4
    3.   ├─DBI::dbConnect(duckdb::duckdb(), eunomia_dir())
    4.   │ └─duckdb (local) .local(drv, ...)
    5.   │   └─base::path.expand(as.character(dbdir))
    6.   └─CDMConnector::eunomia_dir() at D:\RCompile\CRANpkg\local\4.4\CDMConnector.Rcheck\tests\testthat\setup.R:15:4
    7.     └─CDMConnector::eunomiaDir(...)
    8.       └─CDMConnector::downloadEunomiaData(...)
    9.         ├─withr::with_options(...)
   10.         │ └─base::force(code)
   11.         └─utils::download.file(...)
  ── Error ('test-db-generateCohortSet.R:259:3'): newGeneratedCohortSet works with prefix ──
  Error in `utils::download.file(url = glue::glue("https://example-data.ohdsi.dev/{datasetName}.zip"), 
      destfile = file.path(pathToData, zipName), mode = "wb", method = "auto", 
      quiet = FALSE, extra = list(progressfunction = function(downloaded, 
          total) {
          progress <- min(1, downloaded/total)
          cli::cli_progress_update(id = pb, set = progress)
      }))`: cannot open URL 'https://example-data.ohdsi.dev/GiBleed.zip'
  Backtrace:
       ▆
    1. ├─DBI::dbConnect(duckdb::duckdb(), eunomia_dir()) at test-db-generateCohortSet.R:259:2
    2. ├─DBI::dbConnect(duckdb::duckdb(), eunomia_dir())
    3. │ └─duckdb (local) .local(drv, ...)
    4. │   └─base::path.expand(as.character(dbdir))
    5. └─CDMConnector::eunomia_dir()
    6.   └─CDMConnector::eunomiaDir(...)
    7.     └─CDMConnector::downloadEunomiaData(...)
    8.       ├─withr::with_options(...)
    9.       │ └─base::force(code)
   10.       └─utils::download.file(...)
  ── Error ('test-db-newGeneratedCohortSet.R:91:5'): duckdb - recordCohortAttrition ──
  Error in `utils::download.file(url = glue::glue("https://example-data.ohdsi.dev/{datasetName}.zip"), 
      destfile = file.path(pathToData, zipName), mode = "wb", method = "auto", 
      quiet = FALSE, extra = list(progressfunction = function(downloaded, 
          total) {
          progress <- min(1, downloaded/total)
          cli::cli_progress_update(id = pb, set = progress)
      }))`: cannot open URL 'https://example-data.ohdsi.dev/GiBleed.zip'
  Backtrace:
       ▆
    1. └─CDMConnector:::get_connection(dbtype) at test-db-newGeneratedCohortSet.R:91:4
    2.   ├─DBI::dbConnect(duckdb::duckdb(), eunomia_dir()) at D:\RCompile\CRANpkg\local\4.4\CDMConnector.Rcheck\tests\testthat\setup.R:15:4
    3.   ├─DBI::dbConnect(duckdb::duckdb(), eunomia_dir())
    4.   │ └─duckdb (local) .local(drv, ...)
    5.   │   └─base::path.expand(as.character(dbdir))
    6.   └─CDMConnector::eunomia_dir() at D:\RCompile\CRANpkg\local\4.4\CDMConnector.Rcheck\tests\testthat\setup.R:15:4
    7.     └─CDMConnector::eunomiaDir(...)
    8.       └─CDMConnector::downloadEunomiaData(...)
    9.         ├─withr::with_options(...)
   10.         │ └─base::force(code)
   11.         └─utils::download.file(...)
  ── Error ('test-db-newGeneratedCohortSet.R:104:3'): error in newGeneratedCohortSet if cohort_ref has not been computed ──
  Error in `utils::download.file(url = glue::glue("https://example-data.ohdsi.dev/{datasetName}.zip"), 
      destfile = file.path(pathToData, zipName), mode = "wb", method = "auto", 
      quiet = FALSE, extra = list(progressfunction = function(downloaded, 
          total) {
          progress <- min(1, downloaded/total)
          cli::cli_progress_update(id = pb, set = progress)
      }))`: cannot open URL 'https://example-data.ohdsi.dev/GiBleed.zip'
  Backtrace:
       ▆
    1. ├─DBI::dbConnect(duckdb::duckdb(), eunomia_dir()) at test-db-newGeneratedCohortSet.R:104:2
    2. ├─DBI::dbConnect(duckdb::duckdb(), eunomia_dir())
    3. │ └─duckdb (local) .local(drv, ...)
    4. │   └─base::path.expand(as.character(dbdir))
    5. └─CDMConnector::eunomia_dir()
    6.   └─CDMConnector::eunomiaDir(...)
    7.     └─CDMConnector::downloadEunomiaData(...)
    8.       ├─withr::with_options(...)
    9.       │ └─base::force(code)
   10.       └─utils::download.file(...)
  ── Error ('test-db-recordCohortAttrition.R:122:5'): duckdb - recordCohortAttrition ──
  Error in `utils::download.file(url = glue::glue("https://example-data.ohdsi.dev/{datasetName}.zip"), 
      destfile = file.path(pathToData, zipName), mode = "wb", method = "auto", 
      quiet = FALSE, extra = list(progressfunction = function(downloaded, 
          total) {
          progress <- min(1, downloaded/total)
          cli::cli_progress_update(id = pb, set = progress)
      }))`: cannot open URL 'https://example-data.ohdsi.dev/GiBleed.zip'
  Backtrace:
       ▆
    1. └─CDMConnector:::get_connection(dbtype) at test-db-recordCohortAttrition.R:122:4
    2.   ├─DBI::dbConnect(duckdb::duckdb(), eunomia_dir()) at D:\RCompile\CRANpkg\local\4.4\CDMConnector.Rcheck\tests\testthat\setup.R:15:4
    3.   ├─DBI::dbConnect(duckdb::duckdb(), eunomia_dir())
    4.   │ └─duckdb (local) .local(drv, ...)
    5.   │   └─base::path.expand(as.character(dbdir))
    6.   └─CDMConnector::eunomia_dir() at D:\RCompile\CRANpkg\local\4.4\CDMConnector.Rcheck\tests\testthat\setup.R:15:4
    7.     └─CDMConnector::eunomiaDir(...)
    8.       └─CDMConnector::downloadEunomiaData(...)
    9.         ├─withr::with_options(...)
   10.         │ └─base::force(code)
   11.         └─utils::download.file(...)
  ── Error ('test-db-summariseQuantile.R:59:5'): duckdb - summariseQuantile ──────
  Error in `utils::download.file(url = glue::glue("https://example-data.ohdsi.dev/{datasetName}.zip"), 
      destfile = file.path(pathToData, zipName), mode = "wb", method = "auto", 
      quiet = FALSE, extra = list(progressfunction = function(downloaded, 
          total) {
          progress <- min(1, downloaded/total)
          cli::cli_progress_update(id = pb, set = progress)
      }))`: cannot open URL 'https://example-data.ohdsi.dev/GiBleed.zip'
  Backtrace:
       ▆
    1. └─CDMConnector:::get_connection(dbtype) at test-db-summariseQuantile.R:59:4
    2.   ├─DBI::dbConnect(duckdb::duckdb(), eunomia_dir()) at D:\RCompile\CRANpkg\local\4.4\CDMConnector.Rcheck\tests\testthat\setup.R:15:4
    3.   ├─DBI::dbConnect(duckdb::duckdb(), eunomia_dir())
    4.   │ └─duckdb (local) .local(drv, ...)
    5.   │   └─base::path.expand(as.character(dbdir))
    6.   └─CDMConnector::eunomia_dir() at D:\RCompile\CRANpkg\local\4.4\CDMConnector.Rcheck\tests\testthat\setup.R:15:4
    7.     └─CDMConnector::eunomiaDir(...)
    8.       └─CDMConnector::downloadEunomiaData(...)
    9.         ├─withr::with_options(...)
   10.         │ └─base::force(code)
   11.         └─utils::download.file(...)
  ── Error ('test-db-temp-tables.R:49:5'): duckdb - temp_tables ──────────────────
  Error in `utils::download.file(url = glue::glue("https://example-data.ohdsi.dev/{datasetName}.zip"), 
      destfile = file.path(pathToData, zipName), mode = "wb", method = "auto", 
      quiet = FALSE, extra = list(progressfunction = function(downloaded, 
          total) {
          progress <- min(1, downloaded/total)
          cli::cli_progress_update(id = pb, set = progress)
      }))`: cannot open URL 'https://example-data.ohdsi.dev/GiBleed.zip'
  Backtrace:
       ▆
    1. └─CDMConnector:::get_connection(dbtype) at test-db-temp-tables.R:49:4
    2.   ├─DBI::dbConnect(duckdb::duckdb(), eunomia_dir()) at D:\RCompile\CRANpkg\local\4.4\CDMConnector.Rcheck\tests\testthat\setup.R:15:4
    3.   ├─DBI::dbConnect(duckdb::duckdb(), eunomia_dir())
    4.   │ └─duckdb (local) .local(drv, ...)
    5.   │   └─base::path.expand(as.character(dbdir))
    6.   └─CDMConnector::eunomia_dir() at D:\RCompile\CRANpkg\local\4.4\CDMConnector.Rcheck\tests\testthat\setup.R:15:4
    7.     └─CDMConnector::eunomiaDir(...)
    8.       └─CDMConnector::downloadEunomiaData(...)
    9.         ├─withr::with_options(...)
   10.         │ └─base::force(code)
   11.         └─utils::download.file(...)
  ── Error ('test-db-utils.R:65:5'): duckdb - inSchema ───────────────────────────
  Error in `utils::download.file(url = glue::glue("https://example-data.ohdsi.dev/{datasetName}.zip"), 
      destfile = file.path(pathToData, zipName), mode = "wb", method = "auto", 
      quiet = FALSE, extra = list(progressfunction = function(downloaded, 
          total) {
          progress <- min(1, downloaded/total)
          cli::cli_progress_update(id = pb, set = progress)
      }))`: cannot open URL 'https://example-data.ohdsi.dev/GiBleed.zip'
  Backtrace:
       ▆
    1. └─CDMConnector:::get_connection(dbtype) at test-db-utils.R:65:4
    2.   ├─DBI::dbConnect(duckdb::duckdb(), eunomia_dir()) at D:\RCompile\CRANpkg\local\4.4\CDMConnector.Rcheck\tests\testthat\setup.R:15:4
    3.   ├─DBI::dbConnect(duckdb::duckdb(), eunomia_dir())
    4.   │ └─duckdb (local) .local(drv, ...)
    5.   │   └─base::path.expand(as.character(dbdir))
    6.   └─CDMConnector::eunomia_dir() at D:\RCompile\CRANpkg\local\4.4\CDMConnector.Rcheck\tests\testthat\setup.R:15:4
    7.     └─CDMConnector::eunomiaDir(...)
    8.       └─CDMConnector::downloadEunomiaData(...)
    9.         ├─withr::with_options(...)
   10.         │ └─base::force(code)
   11.         └─utils::download.file(...)
  ── Error ('test-db-verify_write_schema.R:19:5'): duckdb - verify_write_access ──
  Error in `utils::download.file(url = glue::glue("https://example-data.ohdsi.dev/{datasetName}.zip"), 
      destfile = file.path(pathToData, zipName), mode = "wb", method = "auto", 
      quiet = FALSE, extra = list(progressfunction = function(downloaded, 
          total) {
          progress <- min(1, downloaded/total)
          cli::cli_progress_update(id = pb, set = progress)
      }))`: cannot open URL 'https://example-data.ohdsi.dev/GiBleed.zip'
  Backtrace:
       ▆
    1. └─CDMConnector:::get_connection(dbtype) at test-db-verify_write_schema.R:19:4
    2.   ├─DBI::dbConnect(duckdb::duckdb(), eunomia_dir()) at D:\RCompile\CRANpkg\local\4.4\CDMConnector.Rcheck\tests\testthat\setup.R:15:4
    3.   ├─DBI::dbConnect(duckdb::duckdb(), eunomia_dir())
    4.   │ └─duckdb (local) .local(drv, ...)
    5.   │   └─base::path.expand(as.character(dbdir))
    6.   └─CDMConnector::eunomia_dir() at D:\RCompile\CRANpkg\local\4.4\CDMConnector.Rcheck\tests\testthat\setup.R:15:4
    7.     └─CDMConnector::eunomiaDir(...)
    8.       └─CDMConnector::downloadEunomiaData(...)
    9.         ├─withr::with_options(...)
   10.         │ └─base::force(code)
   11.         └─utils::download.file(...)
  ── Error ('test-local_cdm.R:3:3'): assertTables works with local cdms ──────────
  Error in `utils::download.file(url = glue::glue("https://example-data.ohdsi.dev/{datasetName}.zip"), 
      destfile = file.path(pathToData, zipName), mode = "wb", method = "auto", 
      quiet = FALSE, extra = list(progressfunction = function(downloaded, 
          total) {
          progress <- min(1, downloaded/total)
          cli::cli_progress_update(id = pb, set = progress)
      }))`: cannot open URL 'https://example-data.ohdsi.dev/GiBleed.zip'
  Backtrace:
       ▆
    1. ├─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir()) at test-local_cdm.R:3:2
    2. ├─DBI::dbConnect(duckdb::duckdb(), dbdir = eunomia_dir())
    3. │ └─duckdb (local) .local(drv, ...)
    4. │   └─base::path.expand(as.character(dbdir))
    5. └─CDMConnector::eunomia_dir()
    6.   └─CDMConnector::eunomiaDir(...)
    7.     └─CDMConnector::downloadEunomiaData(...)
    8.       ├─withr::with_options(...)
    9.       │ └─base::force(code)
   10.       └─utils::download.file(...)
  ── Error ('test-pool.R:3:3'): pool connections work ────────────────────────────
  Error in `utils::download.file(url = glue::glue("https://example-data.ohdsi.dev/{datasetName}.zip"), 
      destfile = file.path(pathToData, zipName), mode = "wb", method = "auto", 
      quiet = FALSE, extra = list(progressfunction = function(downloaded, 
          total) {
          progress <- min(1, downloaded/total)
          cli::cli_progress_update(id = pb, set = progress)
      }))`: cannot open URL 'https://example-data.ohdsi.dev/GiBleed.zip'
  Backtrace:
      ▆
   1. ├─pool::dbPool(drv = duckdb::duckdb(), dbdir = eunomia_dir()) at test-pool.R:3:2
   2. └─CDMConnector::eunomia_dir()
   3.   └─CDMConnector::eunomiaDir(...)
   4.     └─CDMConnector::downloadEunomiaData(...)
   5.       ├─withr::with_options(...)
   6.       │ └─base::force(code)
   7.       └─utils::download.file(...)
  
  [ FAIL 21 | WARN 21 | SKIP 102 | PASS 29 ]
  Error: Test failures
  In addition: There were 20 warnings (use warnings() to see them)
  Execution halted
  Warning messages:
  1: Database is garbage-collected, use dbDisconnect(con, shutdown=TRUE) or duckdb::duckdb_shutdown(drv) to avoid this. 
  2: Database is garbage-collected, use dbDisconnect(con, shutdown=TRUE) or duckdb::duckdb_shutdown(drv) to avoid this. 
  3: Database is garbage-collected, use dbDisconnect(con, shutdown=TRUE) or duckdb::duckdb_shutdown(drv) to avoid this.