R version 4.6.0 beta (2026-04-15 r89885 ucrt) -- "Because it was There" Copyright (C) 2026 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(TestGenerator) > > test_check("TestGenerator") v All tables are valid v All tables are valid v All tables are valid. Non-standard table(s) in test data: pregnancy x The following tables are invalid: pregnancy v All tables are valid v Unit Test Definition Created Successfully: 'test' v All tables are valid. Non-standard table(s) in test data: pregnancy v Unit Test Definition Created Successfully: 'pregnancy' v All tables are valid v Unit Test Definition Created Successfully: 'test' trying URL 'https://cdmconnectordata.blob.core.windows.net/cdmconnector-example-data/empty_cdm_5.4.zip' Content type 'application/zip' length 772029174 bytes (736.3 MB) ========================================= downloaded 616.7 MB Saving _problems/test-patients-94.R v All tables are valid. Non-standard table(s) in test data: pregnancy v Unit Test Definition Created Successfully: 'pregnancy' Creating CDM database D:\temp\2026_04_16_14_15_17_29443\RtmpMzhS2g/empty_cdm_5.4.zip Saving _problems/test-patients-104.R v All tables are valid v Unit Test Definition Created Successfully: 'test' Creating CDM database D:\temp\2026_04_16_14_15_17_29443\RtmpMzhS2g/empty_cdm_5.4.zip Saving _problems/test-patients-115.R v All tables are valid v Unit Test Definition Created Successfully: 'test' Creating CDM database D:\temp\2026_04_16_14_15_17_29443\RtmpMzhS2g/empty_cdm_5.4.zip Saving _problems/test-patients-125.R v Unit Test Definition Created Successfully: 'mimic_sample' Timeout was reached [physionet.org]: Operation timed out after 100004 milliseconds with 6979584 out of 10786504 bytes received Timeout was reached [physionet.org]: Operation timed out after 100042 milliseconds with 9191406 out of 10786504 bytes received Timeout was reached [physionet.org]: Operation timed out after 100003 milliseconds with 8011722 out of 10786504 bytes received v All tables are valid. Non-standard table(s) in test data: pregnancy v Unit Test Definition Created Successfully: 'pregnancy' Creating CDM database D:\temp\2026_04_16_14_15_17_29443\RtmpMzhS2g/empty_cdm_5.4.zip Saving _problems/test-patients-228.R v All tables are valid. Non-standard table(s) in test data: pregnancy v Unit Test Definition Created Successfully: 'pregnancy' [ FAIL 5 | WARN 10 | SKIP 4 | PASS 24 ] ══ Skipped tests (4) ═══════════════════════════════════════════════════════════ • empty test (3): 'test-patients.R:147:1', 'test-patients.R:171:1', 'test-patients.R:202:1' • manual test (1): 'test-utilsCdm.R:2:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-patients.R:94:3'): Patients to CDM xlsx function ─────────────── Error in `utils::download.file(url = url, 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) }))`: download from 'https://cdmconnectordata.blob.core.windows.net/cdmconnector-example-data/empty_cdm_5.4.zip' failed Backtrace: ▆ 1. └─TestGenerator::patientsCDM(pathJson = NULL, testName = "pregnancy") at test-patients.R:94:3 2. └─CDMConnector::downloadEunomiaData(...) 3. ├─withr::with_options(...) 4. │ └─base::force(code) 5. └─utils::download.file(...) ── Error ('test-patients.R:104:3'): Patients to CDM xlsx function pregnancy extra table ── Error in `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = structure("Data file does not contain any .parquet files to load into the database!\nTry removing the file D:\\temp\\2026_04_16_14_15_17_29443\\RtmpMzhS2g/empty_cdm_5.4.zip.", class = c("glue", "character")), trace = structure(list(call = list(TestGenerator::patientsCDM(pathJson = NULL, testName = "pregnancy"), DBI::dbConnect(duckdb::duckdb(CDMConnector::eunomiaDir(datasetName = "empty_cdm", cdmVersion = cdmVersion))), duckdb::duckdb(CDMConnector::eunomiaDir(datasetName = "empty_cdm", cdmVersion = cdmVersion)), path_normalize(dbdir), CDMConnector::eunomiaDir(datasetName = "empty_cdm", cdmVersion = cdmVersion), rlang::abort(glue::glue("Data file does not contain any .parquet files to load into the database!\nTry removing the file {archiveLocation}."))), parent = c(0L, 1L, 1L, 3L, 1L, 5L), visible = c(TRUE, TRUE, TRUE, TRUE, TRUE, FALSE), namespace = c("TestGenerator", "DBI", "duckdb", "duckdb", "CDMConnector", "rlang"), scope = c("::", "::", "::", ":::", "::", "::"), error_frame = c(FALSE, FALSE, FALSE, FALSE, TRUE, FALSE)), row.names = c(NA, -6L), version = 2L, class = c("rlang_trace", "rlib_trace", "tbl", "data.frame")), parent = NULL, rlang = list(inherit = TRUE), call = CDMConnector::eunomiaDir(datasetName = "empty_cdm", cdmVersion = cdmVersion)), class = c("rlang_error", "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': Data file does not contain any .parquet files to load into the database! Try removing the file D:\temp\2026_04_16_14_15_17_29443\RtmpMzhS2g/empty_cdm_5.4.zip. Backtrace: ▆ 1. ├─TestGenerator::patientsCDM(pathJson = NULL, testName = "pregnancy") at test-patients.R:104:3 2. │ ├─DBI::dbConnect(...) 3. │ ├─duckdb::duckdb(...) 4. │ │ └─duckdb:::path_normalize(dbdir) 5. │ └─CDMConnector::eunomiaDir(datasetName = "empty_cdm", cdmVersion = cdmVersion) 6. │ └─rlang::abort(glue::glue("Data file does not contain any .parquet files to load into the database!\nTry removing the file {archiveLocation}.")) 7. │ └─rlang:::signal_abort(cnd, .file) 8. │ └─base::signalCondition(cnd) 9. └─base (local) ``(``) ── Error ('test-patients.R:115:3'): Read patients empty tables xl ────────────── Error in `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = structure("Data file does not contain any .parquet files to load into the database!\nTry removing the file D:\\temp\\2026_04_16_14_15_17_29443\\RtmpMzhS2g/empty_cdm_5.4.zip.", class = c("glue", "character")), trace = structure(list(call = list(TestGenerator::patientsCDM(pathJson = NULL, testName = "test"), DBI::dbConnect(duckdb::duckdb(CDMConnector::eunomiaDir(datasetName = "empty_cdm", cdmVersion = cdmVersion))), duckdb::duckdb(CDMConnector::eunomiaDir(datasetName = "empty_cdm", cdmVersion = cdmVersion)), path_normalize(dbdir), CDMConnector::eunomiaDir(datasetName = "empty_cdm", cdmVersion = cdmVersion), rlang::abort(glue::glue("Data file does not contain any .parquet files to load into the database!\nTry removing the file {archiveLocation}."))), parent = c(0L, 1L, 1L, 3L, 1L, 5L), visible = c(TRUE, TRUE, TRUE, TRUE, TRUE, FALSE), namespace = c("TestGenerator", "DBI", "duckdb", "duckdb", "CDMConnector", "rlang"), scope = c("::", "::", "::", ":::", "::", "::"), error_frame = c(FALSE, FALSE, FALSE, FALSE, TRUE, FALSE)), row.names = c(NA, -6L), version = 2L, class = c("rlang_trace", "rlib_trace", "tbl", "data.frame")), parent = NULL, rlang = list(inherit = TRUE), call = CDMConnector::eunomiaDir(datasetName = "empty_cdm", cdmVersion = cdmVersion)), class = c("rlang_error", "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': Data file does not contain any .parquet files to load into the database! Try removing the file D:\temp\2026_04_16_14_15_17_29443\RtmpMzhS2g/empty_cdm_5.4.zip. Backtrace: ▆ 1. ├─TestGenerator::patientsCDM(pathJson = NULL, testName = "test") at test-patients.R:115:3 2. │ ├─DBI::dbConnect(...) 3. │ ├─duckdb::duckdb(...) 4. │ │ └─duckdb:::path_normalize(dbdir) 5. │ └─CDMConnector::eunomiaDir(datasetName = "empty_cdm", cdmVersion = cdmVersion) 6. │ └─rlang::abort(glue::glue("Data file does not contain any .parquet files to load into the database!\nTry removing the file {archiveLocation}.")) 7. │ └─rlang:::signal_abort(cnd, .file) 8. │ └─base::signalCondition(cnd) 9. └─base (local) ``(``) ── Error ('test-patients.R:125:3'): Read patients empty xl ───────────────────── Error in `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = structure("Data file does not contain any .parquet files to load into the database!\nTry removing the file D:\\temp\\2026_04_16_14_15_17_29443\\RtmpMzhS2g/empty_cdm_5.4.zip.", class = c("glue", "character")), trace = structure(list(call = list(TestGenerator::patientsCDM(pathJson = NULL, testName = "test"), DBI::dbConnect(duckdb::duckdb(CDMConnector::eunomiaDir(datasetName = "empty_cdm", cdmVersion = cdmVersion))), duckdb::duckdb(CDMConnector::eunomiaDir(datasetName = "empty_cdm", cdmVersion = cdmVersion)), path_normalize(dbdir), CDMConnector::eunomiaDir(datasetName = "empty_cdm", cdmVersion = cdmVersion), rlang::abort(glue::glue("Data file does not contain any .parquet files to load into the database!\nTry removing the file {archiveLocation}."))), parent = c(0L, 1L, 1L, 3L, 1L, 5L), visible = c(TRUE, TRUE, TRUE, TRUE, TRUE, FALSE), namespace = c("TestGenerator", "DBI", "duckdb", "duckdb", "CDMConnector", "rlang"), scope = c("::", "::", "::", ":::", "::", "::"), error_frame = c(FALSE, FALSE, FALSE, FALSE, TRUE, FALSE)), row.names = c(NA, -6L), version = 2L, class = c("rlang_trace", "rlib_trace", "tbl", "data.frame")), parent = NULL, rlang = list(inherit = TRUE), call = CDMConnector::eunomiaDir(datasetName = "empty_cdm", cdmVersion = cdmVersion)), class = c("rlang_error", "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': Data file does not contain any .parquet files to load into the database! Try removing the file D:\temp\2026_04_16_14_15_17_29443\RtmpMzhS2g/empty_cdm_5.4.zip. Backtrace: ▆ 1. ├─TestGenerator::patientsCDM(pathJson = NULL, testName = "test") at test-patients.R:125:3 2. │ ├─DBI::dbConnect(...) 3. │ ├─duckdb::duckdb(...) 4. │ │ └─duckdb:::path_normalize(dbdir) 5. │ └─CDMConnector::eunomiaDir(datasetName = "empty_cdm", cdmVersion = cdmVersion) 6. │ └─rlang::abort(glue::glue("Data file does not contain any .parquet files to load into the database!\nTry removing the file {archiveLocation}.")) 7. │ └─rlang:::signal_abort(cnd, .file) 8. │ └─base::signalCondition(cnd) 9. └─base (local) ``(``) ── Error ('test-patients.R:228:3'): Patients to CDM version 5.4 ──────────────── Error in `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = structure("Data file does not contain any .parquet files to load into the database!\nTry removing the file D:\\temp\\2026_04_16_14_15_17_29443\\RtmpMzhS2g/empty_cdm_5.4.zip.", class = c("glue", "character")), trace = structure(list(call = list(TestGenerator::patientsCDM(pathJson = NULL, testName = "pregnancy", cdmVersion = cdmVersion), DBI::dbConnect(duckdb::duckdb(CDMConnector::eunomiaDir(datasetName = "empty_cdm", cdmVersion = cdmVersion))), duckdb::duckdb(CDMConnector::eunomiaDir(datasetName = "empty_cdm", cdmVersion = cdmVersion)), path_normalize(dbdir), CDMConnector::eunomiaDir(datasetName = "empty_cdm", cdmVersion = cdmVersion), rlang::abort(glue::glue("Data file does not contain any .parquet files to load into the database!\nTry removing the file {archiveLocation}."))), parent = c(0L, 1L, 1L, 3L, 1L, 5L), visible = c(TRUE, TRUE, TRUE, TRUE, TRUE, FALSE), namespace = c("TestGenerator", "DBI", "duckdb", "duckdb", "CDMConnector", "rlang"), scope = c("::", "::", "::", ":::", "::", "::"), error_frame = c(FALSE, FALSE, FALSE, FALSE, TRUE, FALSE)), row.names = c(NA, -6L), version = 2L, class = c("rlang_trace", "rlib_trace", "tbl", "data.frame")), parent = NULL, rlang = list(inherit = TRUE), call = CDMConnector::eunomiaDir(datasetName = "empty_cdm", cdmVersion = cdmVersion)), class = c("rlang_error", "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': Data file does not contain any .parquet files to load into the database! Try removing the file D:\temp\2026_04_16_14_15_17_29443\RtmpMzhS2g/empty_cdm_5.4.zip. Backtrace: ▆ 1. ├─TestGenerator::patientsCDM(...) at test-patients.R:228:3 2. │ ├─DBI::dbConnect(...) 3. │ ├─duckdb::duckdb(...) 4. │ │ └─duckdb:::path_normalize(dbdir) 5. │ └─CDMConnector::eunomiaDir(datasetName = "empty_cdm", cdmVersion = cdmVersion) 6. │ └─rlang::abort(glue::glue("Data file does not contain any .parquet files to load into the database!\nTry removing the file {archiveLocation}.")) 7. │ └─rlang:::signal_abort(cnd, .file) 8. │ └─base::signalCondition(cnd) 9. └─base (local) ``(``) [ FAIL 5 | WARN 10 | SKIP 4 | PASS 24 ] Error: ! Test failures. Execution halted