CRAN Package Check Results for Package SelfControlledCohort

Last updated on 2026-10-10 16:51:27 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.1.0 9.01 194.70 203.71 OK
r-devel-linux-x86_64-debian-gcc 2.1.0 6.39 66.22 72.61 ERROR
r-devel-linux-x86_64-fedora-clang 2.1.0 7.00 64.14 71.14 ERROR
r-devel-linux-x86_64-fedora-gcc 2.1.0 7.00 74.55 81.55 ERROR
r-devel-windows-x86_64 2.0.0 12.00 398.00 410.00 OK
r-patched-linux-x86_64 2.0.0 7.65 244.14 251.79 OK
r-release-linux-x86_64 2.0.0 OK
r-release-macos-arm64 2.1.0 2.00 73.00 75.00 OK
r-release-macos-x86_64 2.1.0 7.00 336.00 343.00 OK
r-release-windows-x86_64 2.0.0 11.00 357.00 368.00 OK
r-oldrel-macos-arm64 2.1.0 3.00 116.00 119.00 OK
r-oldrel-macos-x86_64 2.1.0 6.00 272.00 278.00 OK
r-oldrel-windows-x86_64 2.1.0 19.00 125.00 144.00 ERROR

Check Details

Version: 2.1.0
Check: tests
Result: ERROR Running ‘testthat.R’ [4s/4s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(SelfControlledCohort) Loading required package: DatabaseConnector > options(dbms = "sqlite") > test_check("SelfControlledCohort") 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: /home/hornik/tmp/scratch/RtmpobnRDv/GiBleed_5.3.zip to: /home/hornik/tmp/scratch/RtmpobnRDv/GiBleed_5.3.sqlite Error in `source_dir()`: ! Failed to evaluate './setup.R'. Caused by error: ! not an error Backtrace: ▆ 1. ├─testthat::test_check("SelfControlledCohort") 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. │ └─SelfControlledCohort:::getTestDatabaseConnectionDetails(...) at ./setup.R:13:1 15. │ └─Eunomia::getDatabaseFile(...) at ./helper.R:39:5 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-debian-gcc

Version: 2.1.0
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘StudyDiagnostics.Rmd’ using rmarkdown [WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead. --- finished re-building ‘StudyDiagnostics.Rmd’ --- re-building ‘UsingSelfControlledCohort.Rmd’ using rmarkdown 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 Quitting from UsingSelfControlledCohort.Rmd:31-43 [setup] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error: ! not an error --- Backtrace: ▆ 1. └─Eunomia::getEunomiaConnectionDetails() 2. └─Eunomia::getDatabaseFile(...) 3. └─Eunomia::extractLoadData(...) 4. └─Eunomia::loadDataFiles(...) 5. ├─DBI::dbExecute(conn = connection, statement = statement) 6. └─DBI::dbExecute(conn = connection, statement = statement) 7. ├─DBI::dbSendStatement(conn, statement, ...) 8. └─DBI::dbSendStatement(conn, statement, ...) 9. ├─DBI::dbSendQuery(conn, statement, ...) 10. └─RSQLite::dbSendQuery(conn, statement, ...) 11. └─RSQLite (local) .local(conn, statement, ...) 12. ├─methods::new(...) 13. │ ├─methods::initialize(value, ...) 14. │ └─methods::initialize(value, ...) 15. └─RSQLite:::result_create(conn@ptr, statement) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'UsingSelfControlledCohort.Rmd' failed with diagnostics: not an error --- failed re-building ‘UsingSelfControlledCohort.Rmd’ SUMMARY: processing the following file failed: ‘UsingSelfControlledCohort.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 2.1.0
Check: tests
Result: ERROR Running ‘testthat.R’ Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(SelfControlledCohort) Loading required package: DatabaseConnector > options(dbms = "sqlite") > test_check("SelfControlledCohort") 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/RtmpX9BqZ7/working_dir/RtmprdrueZ/GiBleed_5.3.zip to: /tmp/RtmpX9BqZ7/working_dir/RtmprdrueZ/GiBleed_5.3.sqlite Error in `source_dir()`: ! Failed to evaluate './setup.R'. Caused by error: ! not an error Backtrace: ▆ 1. ├─testthat::test_check("SelfControlledCohort") 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. │ └─SelfControlledCohort:::getTestDatabaseConnectionDetails(...) at ./setup.R:13:1 15. │ └─Eunomia::getDatabaseFile(...) at ./helper.R:39:5 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: 2.1.0
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘StudyDiagnostics.Rmd’ using rmarkdown [WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead. --- finished re-building ‘StudyDiagnostics.Rmd’ --- re-building ‘UsingSelfControlledCohort.Rmd’ using rmarkdown 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 Quitting from UsingSelfControlledCohort.Rmd:31-43 [setup] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error: ! not an error --- Backtrace: ▆ 1. └─Eunomia::getEunomiaConnectionDetails() 2. └─Eunomia::getDatabaseFile(...) 3. └─Eunomia::extractLoadData(...) 4. └─Eunomia::loadDataFiles(...) 5. ├─DBI::dbExecute(conn = connection, statement = statement) 6. └─DBI::dbExecute(conn = connection, statement = statement) 7. ├─DBI::dbSendStatement(conn, statement, ...) 8. └─DBI::dbSendStatement(conn, statement, ...) 9. ├─DBI::dbSendQuery(conn, statement, ...) 10. └─RSQLite::dbSendQuery(conn, statement, ...) 11. └─RSQLite (local) .local(conn, statement, ...) 12. ├─methods::new(...) 13. │ ├─methods::initialize(value, ...) 14. │ └─methods::initialize(value, ...) 15. └─RSQLite:::result_create(conn@ptr, statement) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'UsingSelfControlledCohort.Rmd' failed with diagnostics: not an error --- failed re-building ‘UsingSelfControlledCohort.Rmd’ SUMMARY: processing the following file failed: ‘UsingSelfControlledCohort.Rmd’ Error: Vignette re-building failed. Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 2.1.0
Check: tests
Result: ERROR Running ‘testthat.R’ Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(SelfControlledCohort) Loading required package: DatabaseConnector > options(dbms = "sqlite") > test_check("SelfControlledCohort") 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/RtmpW7u1Ji/working_dir/RtmppeR8JN/GiBleed_5.3.zip to: /tmp/RtmpW7u1Ji/working_dir/RtmppeR8JN/GiBleed_5.3.sqlite Error in `source_dir()`: ! Failed to evaluate './setup.R'. Caused by error: ! not an error Backtrace: ▆ 1. ├─testthat::test_check("SelfControlledCohort") 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. │ └─SelfControlledCohort:::getTestDatabaseConnectionDetails(...) at ./setup.R:13:1 15. │ └─Eunomia::getDatabaseFile(...) at ./helper.R:39:5 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

Version: 2.1.0
Check: tests
Result: ERROR Running 'testthat.R' [6s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(SelfControlledCohort) Loading required package: DatabaseConnector > options(dbms = "sqlite") > test_check("SelfControlledCohort") 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\RtmpApKtlV/GiBleed_5.3.zip to: D:\temp\2026_10_09_10_23_25_30964\RtmpApKtlV/GiBleed_5.3.sqlite Error in `source_dir()`: ! Failed to evaluate './setup.R'. Caused by error: ! not an error Backtrace: ▆ 1. ├─testthat::test_check("SelfControlledCohort") 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. │ └─SelfControlledCohort:::getTestDatabaseConnectionDetails(...) at ./setup.R:13:1 15. │ └─Eunomia::getDatabaseFile(...) at ./helper.R:39:5 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-oldrel-windows-x86_64

Version: 2.1.0
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building 'StudyDiagnostics.Rmd' using rmarkdown --- finished re-building 'StudyDiagnostics.Rmd' --- re-building 'UsingSelfControlledCohort.Rmd' using rmarkdown 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 Quitting from UsingSelfControlledCohort.Rmd:31-43 [setup] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error: ! not an error --- Backtrace: ▆ 1. └─Eunomia::getEunomiaConnectionDetails() 2. └─Eunomia::getDatabaseFile(...) 3. └─Eunomia::extractLoadData(...) 4. └─Eunomia::loadDataFiles(...) 5. ├─DBI::dbExecute(conn = connection, statement = statement) 6. └─DBI::dbExecute(conn = connection, statement = statement) 7. ├─DBI::dbSendStatement(conn, statement, ...) 8. └─DBI::dbSendStatement(conn, statement, ...) 9. ├─DBI::dbSendQuery(conn, statement, ...) 10. └─RSQLite::dbSendQuery(conn, statement, ...) 11. └─RSQLite (local) .local(conn, statement, ...) 12. ├─methods::new(...) 13. │ ├─methods::initialize(value, ...) 14. │ └─methods::initialize(value, ...) 15. └─RSQLite:::result_create(conn@ptr, statement) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'UsingSelfControlledCohort.Rmd' failed with diagnostics: not an error --- failed re-building 'UsingSelfControlledCohort.Rmd' SUMMARY: processing the following file failed: 'UsingSelfControlledCohort.Rmd' Error: Vignette re-building failed. Execution halted Flavor: r-oldrel-windows-x86_64