* using log directory 'd:/RCompile/CRANincoming/R-devel/TestGenerator.Rcheck' * using R version 4.6.0 beta (2026-04-15 r89885 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * current time: 2026-04-16 12:15:33 UTC * checking for file 'TestGenerator/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'TestGenerator' version '0.6.0' * package encoding: UTF-8 * checking CRAN incoming feasibility ... [11s] OK * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'TestGenerator' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [14s] OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking R/sysdata.rda ... OK * checking examples ... OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [89m] ERROR Running 'testthat.R' [89m] Running the tests in 'tests/testthat.R' failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(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 * checking PDF version of manual ... [18s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR