CRAN Package Check Results for Package CohortMethod

Last updated on 2026-10-09 18:54:01 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 6.0.3 51.91 633.82 685.73 OK
r-devel-linux-x86_64-debian-gcc 6.0.3 33.08 474.96 508.04 OK
r-devel-linux-x86_64-fedora-clang 6.0.3 39.00 142.80 181.80 ERROR
r-devel-linux-x86_64-fedora-gcc 6.0.3 39.00 148.65 187.65 ERROR
r-devel-windows-x86_64 6.0.3 57.00 835.00 892.00 OK
r-patched-linux-x86_64 6.0.3 48.00 616.04 664.04 OK
r-release-linux-x86_64 6.0.3 OK
r-release-macos-arm64 6.0.3 12.00 133.00 145.00 OK
r-release-macos-x86_64 6.0.3 34.00 478.00 512.00 OK
r-release-windows-x86_64 6.0.3 53.00 559.00 612.00 OK
r-oldrel-macos-arm64 6.0.3 10.00 163.00 173.00 OK
r-oldrel-macos-x86_64 6.0.3 33.00 515.00 548.00 OK
r-oldrel-windows-x86_64 6.0.3 69.00 782.00 851.00 OK

Check Details

Version: 6.0.3
Check: tests
Result: ERROR Running ‘testthat.R’ 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: /tmp/RtmpJHiXNH/working_dir/RtmpZkx7en/GiBleed_5.3.zip to: /tmp/RtmpJHiXNH/working_dir/RtmpZkx7en/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(`<fn>`, "not an error", base::quote(NULL)) 30. └─testthat (local) h(simpleError(msg, call)) 31. └─cli::cli_abort(...) 32. └─rlang::abort(...) Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 6.0.3
Check: tests
Result: ERROR Running ‘testthat.R’ [11s/13s] 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: /tmp/RtmpbUD6e4/working_dir/RtmpCh9bl9/GiBleed_5.3.zip to: /tmp/RtmpbUD6e4/working_dir/RtmpCh9bl9/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(`<fn>`, "not an error", base::quote(NULL)) 30. └─testthat (local) h(simpleError(msg, call)) 31. └─cli::cli_abort(...) 32. └─rlang::abort(...) Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc