* using log directory 'd:/Rcompile/CRANpkg/local/4.5/CohortMethod.Rcheck' * using R version 4.5.3 (2026-03-11 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 * checking for file 'CohortMethod/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'CohortMethod' version '6.0.3' * package encoding: UTF-8 * 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 'CohortMethod' can be installed ... OK * used C++ compiler: 'g++.exe (GCC) 14.3.0' * checking installed package size ... OK * checking package directory ... OK * checking 'build' directory ... 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 ... [6s] OK * checking whether the package can be loaded with stated dependencies ... [5s] OK * checking whether the package can be unloaded cleanly ... [5s] OK * checking whether the namespace can be loaded with stated dependencies ... [5s] OK * checking whether the namespace can be unloaded cleanly ... [6s] OK * checking loading without being on the library search path ... [6s] 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 ... [32s] OK * checking Rd files ... [2s] OK * checking Rd metadata ... 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 contents of 'data' directory ... OK * checking data for non-ASCII characters ... [1s] OK * checking data for ASCII and uncompressed saves ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking pragmas in C/C++ headers and code ... OK * checking compiled code ... OK * checking sizes of PDF files under 'inst/doc' ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [41s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [9s] ERROR Running 'testthat.R' [9s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > test_check("CohortMethod") Loading required package: CohortMethod Loading required package: DatabaseConnector Loading required package: Cyclops Loading required package: FeatureExtraction Loading required package: Andromeda Loading required package: dplyr Attaching package: 'dplyr' The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union attempting to download GiBleed trying URL 'https://raw.githubusercontent.com/OHDSI/EunomiaDatasets/main/datasets/GiBleed/GiBleed_5.3.zip' Content type 'application/zip' length 6861852 bytes (6.5 MB) ================================================== downloaded 6.5 MB attempting to extract and load: D:\temp\2026_10_09_10_23_25_30964\RtmpamKCNO/GiBleed_5.3.zip to: D:\temp\2026_10_09_10_23_25_30964\RtmpamKCNO/GiBleed_5.3.sqlite Error in `source_dir()`: ! Failed to evaluate './setup.R'. Caused by error: ! not an error Backtrace: ▆ 1. ├─testthat::test_check("CohortMethod") 2. │ └─testthat::test_dir(...) 3. │ └─testthat:::test_files(...) 4. │ └─testthat:::test_files_serial(...) 5. │ └─testthat:::test_files_setup_state(...) 6. │ └─testthat::source_test_setup(".", env) 7. │ └─testthat::source_dir(path, "^setup.*\\.[rR]$", env = env, wrap = FALSE) 8. │ └─base::lapply(...) 9. │ └─testthat (local) FUN(X[[i]], ...) 10. │ └─testthat::source_file(...) 11. │ ├─base::withCallingHandlers(...) 12. │ └─base::eval(exprs, env) 13. │ └─base::eval(exprs, env) 14. │ └─Eunomia::getEunomiaConnectionDetails() at ./setup.R:6:3 15. │ └─Eunomia::getDatabaseFile(...) 16. │ └─Eunomia::extractLoadData(...) 17. │ └─Eunomia::loadDataFiles(...) 18. │ ├─DBI::dbExecute(conn = connection, statement = statement) 19. │ └─DBI::dbExecute(conn = connection, statement = statement) 20. │ ├─DBI::dbSendStatement(conn, statement, ...) 21. │ └─DBI::dbSendStatement(conn, statement, ...) 22. │ ├─DBI::dbSendQuery(conn, statement, ...) 23. │ └─RSQLite::dbSendQuery(conn, statement, ...) 24. │ └─RSQLite (local) .local(conn, statement, ...) 25. │ ├─methods::new(...) 26. │ │ ├─methods::initialize(value, ...) 27. │ │ └─methods::initialize(value, ...) 28. │ └─RSQLite:::result_create(conn@ptr, statement) 29. └─base::.handleSimpleError(``, "not an error", base::quote(NULL)) 30. └─testthat (local) h(simpleError(msg, call)) 31. └─cli::cli_abort(...) 32. └─rlang::abort(...) Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [53s] OK * checking PDF version of manual ... [20s] OK * checking HTML version of manual ... [13s] OK * DONE Status: 1 ERROR