CRAN Package Check Results for Package CohortAlgebra

Last updated on 2025-11-06 15:50:04 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.1 8.51 73.53 82.04 OK
r-devel-linux-x86_64-debian-gcc 0.3.1 5.72 54.20 59.92 OK
r-devel-linux-x86_64-fedora-clang 0.3.1 56.00 81.47 137.47 ERROR
r-devel-linux-x86_64-fedora-gcc 0.3.1 45.00 100.60 145.60 ERROR
r-devel-windows-x86_64 0.3.1 10.00 87.00 97.00 OK
r-patched-linux-x86_64 0.3.1 7.16 69.20 76.36 OK
r-release-linux-x86_64 0.3.1 7.52 69.93 77.45 OK
r-release-macos-arm64 0.3.1 4.00 50.00 54.00 OK
r-release-macos-x86_64 0.3.1 8.00 74.00 82.00 OK
r-release-windows-x86_64 0.3.1 10.00 84.00 94.00 OK
r-oldrel-macos-arm64 0.3.1 3.00 48.00 51.00 OK
r-oldrel-macos-x86_64 0.3.1 5.00 81.00 86.00 OK
r-oldrel-windows-x86_64 0.3.1 12.00 102.00 114.00 OK

Additional issues

M1mac

Check Details

Version: 0.3.1
Check: tests
Result: ERROR Running ‘testOracle.R’ Running ‘testPostgres.R’ [5s/87s] Running ‘testRedshift.R’ Running ‘testSqlServer.R’ [5s/83s] Running the tests in ‘tests/testPostgres.R’ failed. Complete output: > library(testthat) > options(dbms = "postgresql") > test_check("CohortAlgebra") Loading required package: CohortAlgebra Loading required package: DatabaseConnector Attaching package: 'dplyr' The following object is masked from 'package:testthat': matches The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union ************* Testing on postgresql ************* Consider adding `DATABASECONNECTOR_JAR_FOLDER='/tmp/RtmpGfTxbd/working_dir/RtmpAg4bpu/file1b1fd144319b00/jdbcDrivers'` to /data/gannet/ripley/.Renviron and restarting R. trying URL 'https://jdbc.postgresql.org/download/postgresql-42.7.3.jar' Error in `FUN()`: ! In path: "/data/gannet/ripley/R/packages/tests-clang/CohortAlgebra.Rcheck/tests/testthat/setup.R" Caused by error in `download.file()`: ! cannot open URL 'https://jdbc.postgresql.org/download/postgresql-42.7.3.jar' Backtrace: ▆ 1. ├─testthat::test_check("CohortAlgebra") 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(path, env = env, chdir = chdir, wrap = wrap) 11. │ ├─base::withCallingHandlers(...) 12. │ └─base::eval(exprs, env) 13. │ └─base::eval(exprs, env) 14. │ └─DatabaseConnector::downloadJdbcDrivers("postgresql", pathToDriver = jdbcDriverFolder) at tests/testthat/setup.R:18:3 15. │ └─utils::download.file(...) 16. └─base::.handleSimpleError(...) 17. └─testthat (local) h(simpleError(msg, call)) 18. └─rlang::abort(...) Warning messages: 1: The folder location '/tmp/RtmpGfTxbd/working_dir/RtmpAg4bpu/file1b1fd144319b00/jdbcDrivers' does not exist. Attempting to create. 2: In download.file(url = paste0(driverSource$baseUrl, driverSource$fileName), : URL 'https://jdbc.postgresql.org/download/postgresql-42.7.3.jar': Timeout of 60 seconds was reached Execution halted Running the tests in ‘tests/testSqlServer.R’ failed. Complete output: > library(testthat) > options(dbms = "sql server") > test_check("CohortAlgebra") Loading required package: CohortAlgebra Loading required package: DatabaseConnector Attaching package: 'dplyr' The following object is masked from 'package:testthat': matches The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union ************* Testing on sql server ************* Consider adding `DATABASECONNECTOR_JAR_FOLDER='/tmp/RtmpGfTxbd/working_dir/RtmpNjpeGn/file1b71105f70c891/jdbcDrivers'` to /data/gannet/ripley/.Renviron and restarting R. trying URL 'https://jdbc.postgresql.org/download/postgresql-42.7.3.jar' Error in `FUN()`: ! In path: "/data/gannet/ripley/R/packages/tests-clang/CohortAlgebra.Rcheck/tests/testthat/setup.R" Caused by error in `download.file()`: ! cannot open URL 'https://jdbc.postgresql.org/download/postgresql-42.7.3.jar' Backtrace: ▆ 1. ├─testthat::test_check("CohortAlgebra") 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(path, env = env, chdir = chdir, wrap = wrap) 11. │ ├─base::withCallingHandlers(...) 12. │ └─base::eval(exprs, env) 13. │ └─base::eval(exprs, env) 14. │ └─DatabaseConnector::downloadJdbcDrivers("postgresql", pathToDriver = jdbcDriverFolder) at tests/testthat/setup.R:18:3 15. │ └─utils::download.file(...) 16. └─base::.handleSimpleError(...) 17. └─testthat (local) h(simpleError(msg, call)) 18. └─rlang::abort(...) Warning messages: 1: The folder location '/tmp/RtmpGfTxbd/working_dir/RtmpNjpeGn/file1b71105f70c891/jdbcDrivers' does not exist. Attempting to create. 2: In download.file(url = paste0(driverSource$baseUrl, driverSource$fileName), : URL 'https://jdbc.postgresql.org/download/postgresql-42.7.3.jar': Timeout of 60 seconds was reached Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.3.1
Check: tests
Result: ERROR Running ‘testOracle.R’ Running ‘testPostgres.R’ [4s/69s] Running ‘testRedshift.R’ Running ‘testSqlServer.R’ [4s/66s] Running the tests in ‘tests/testPostgres.R’ failed. Complete output: > library(testthat) > options(dbms = "postgresql") > test_check("CohortAlgebra") Loading required package: CohortAlgebra Loading required package: DatabaseConnector Attaching package: 'dplyr' The following object is masked from 'package:testthat': matches The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union ************* Testing on postgresql ************* Consider adding `DATABASECONNECTOR_JAR_FOLDER='/tmp/Rtmp6TlhON/working_dir/RtmpuQYdmm/file1ae9515f471d45/jdbcDrivers'` to /data/gannet/ripley/.Renviron and restarting R. trying URL 'https://jdbc.postgresql.org/download/postgresql-42.7.3.jar' Error in `FUN()`: ! In path: "/data/gannet/ripley/R/packages/tests-devel/CohortAlgebra.Rcheck/tests/testthat/setup.R" Caused by error in `download.file()`: ! cannot open URL 'https://jdbc.postgresql.org/download/postgresql-42.7.3.jar' Backtrace: ▆ 1. ├─testthat::test_check("CohortAlgebra") 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(path, env = env, chdir = chdir, wrap = wrap) 11. │ ├─base::withCallingHandlers(...) 12. │ └─base::eval(exprs, env) 13. │ └─base::eval(exprs, env) 14. │ └─DatabaseConnector::downloadJdbcDrivers("postgresql", pathToDriver = jdbcDriverFolder) at tests/testthat/setup.R:18:3 15. │ └─utils::download.file(...) 16. └─base::.handleSimpleError(...) 17. └─testthat (local) h(simpleError(msg, call)) 18. └─rlang::abort(...) Warning messages: 1: The folder location '/tmp/Rtmp6TlhON/working_dir/RtmpuQYdmm/file1ae9515f471d45/jdbcDrivers' does not exist. Attempting to create. 2: In download.file(url = paste0(driverSource$baseUrl, driverSource$fileName), : URL 'https://jdbc.postgresql.org/download/postgresql-42.7.3.jar': Timeout of 60 seconds was reached Execution halted Running the tests in ‘tests/testSqlServer.R’ failed. Complete output: > library(testthat) > options(dbms = "sql server") > test_check("CohortAlgebra") Loading required package: CohortAlgebra Loading required package: DatabaseConnector Attaching package: 'dplyr' The following object is masked from 'package:testthat': matches The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union ************* Testing on sql server ************* Consider adding `DATABASECONNECTOR_JAR_FOLDER='/tmp/Rtmp6TlhON/working_dir/RtmpMKXim7/file1b1b09611c2c2a/jdbcDrivers'` to /data/gannet/ripley/.Renviron and restarting R. trying URL 'https://jdbc.postgresql.org/download/postgresql-42.7.3.jar' Error in `FUN()`: ! In path: "/data/gannet/ripley/R/packages/tests-devel/CohortAlgebra.Rcheck/tests/testthat/setup.R" Caused by error in `download.file()`: ! cannot open URL 'https://jdbc.postgresql.org/download/postgresql-42.7.3.jar' Backtrace: ▆ 1. ├─testthat::test_check("CohortAlgebra") 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(path, env = env, chdir = chdir, wrap = wrap) 11. │ ├─base::withCallingHandlers(...) 12. │ └─base::eval(exprs, env) 13. │ └─base::eval(exprs, env) 14. │ └─DatabaseConnector::downloadJdbcDrivers("postgresql", pathToDriver = jdbcDriverFolder) at tests/testthat/setup.R:18:3 15. │ └─utils::download.file(...) 16. └─base::.handleSimpleError(...) 17. └─testthat (local) h(simpleError(msg, call)) 18. └─rlang::abort(...) Warning messages: 1: The folder location '/tmp/Rtmp6TlhON/working_dir/RtmpMKXim7/file1b1b09611c2c2a/jdbcDrivers' does not exist. Attempting to create. 2: In download.file(url = paste0(driverSource$baseUrl, driverSource$fileName), : URL 'https://jdbc.postgresql.org/download/postgresql-42.7.3.jar': Timeout of 60 seconds was reached Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc