CRAN Package Check Results for Package CohortAlgebra

Last updated on 2025-03-15 06:50:05 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.1 7.14 65.59 72.73 ERROR
r-devel-linux-x86_64-debian-gcc 0.3.1 5.39 49.66 55.05 OK
r-devel-linux-x86_64-fedora-clang 0.3.1 129.73 OK
r-devel-linux-x86_64-fedora-gcc 0.3.1 207.61 OK
r-devel-macos-arm64 0.3.1 42.00 OK
r-devel-macos-x86_64 0.3.1 82.00 OK
r-devel-windows-x86_64 0.3.1 9.00 81.00 90.00 OK
r-patched-linux-x86_64 0.3.1 OK
r-release-linux-x86_64 0.3.1 7.00 62.53 69.53 OK
r-release-macos-arm64 0.3.1 51.00 OK
r-release-macos-x86_64 0.3.1 86.00 OK
r-release-windows-x86_64 0.3.1 8.00 83.00 91.00 OK
r-oldrel-macos-arm64 0.3.1 56.00 OK
r-oldrel-macos-x86_64 0.3.1 82.00 OK
r-oldrel-windows-x86_64 0.3.1 11.00 97.00 108.00 OK

Check Details

Version: 0.3.1
Check: tests
Result: ERROR Running ‘testOracle.R’ [0s/1s] Running ‘testPostgres.R’ [2s/64s] Running ‘testRedshift.R’ [1s/1s] Running ‘testSqlServer.R’ [3s/64s] 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='/home/hornik/tmp/scratch/RtmpXf7L1K/filec8cf3a891e0a/jdbcDrivers'` to /home/hornik/.Renviron and restarting R. trying URL 'https://jdbc.postgresql.org/download/postgresql-42.7.3.jar' Error in `FUN()`: ! In path: "/home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/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 '/home/hornik/tmp/scratch/RtmpXf7L1K/filec8cf3a891e0a/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='/home/hornik/tmp/scratch/Rtmp16X8OJ/file14e143e20b3d2/jdbcDrivers'` to /home/hornik/.Renviron and restarting R. trying URL 'https://jdbc.postgresql.org/download/postgresql-42.7.3.jar' Error in `FUN()`: ! In path: "/home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/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 '/home/hornik/tmp/scratch/Rtmp16X8OJ/file14e143e20b3d2/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-debian-clang