CRAN Package Check Results for Package CohortAlgebra

Last updated on 2025-03-04 06:54:36 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.1 7.23 66.66 73.89 OK
r-devel-linux-x86_64-debian-gcc 0.3.1 4.98 49.50 54.48 OK
r-devel-linux-x86_64-fedora-clang 0.3.1 120.84 OK
r-devel-linux-x86_64-fedora-gcc 0.3.1 126.87 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 16.00 83.00 99.00 OK
r-patched-linux-x86_64 0.3.1 7.12 62.09 69.21 OK
r-release-linux-x86_64 0.3.1 5.89 62.92 68.81 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 81.00 89.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 10.00 135.00 145.00 ERROR

Check Details

Version: 0.3.1
Check: tests
Result: ERROR Running 'testOracle.R' [0s] Running 'testPostgres.R' [24s] Running 'testRedshift.R' [1s] Running 'testSqlServer.R' [24s] 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='D:\temp\2025_03_03_01_50_00_4640\RtmpkfPcaP\file200b459a04ad/jdbcDrivers'` to C:\Users\CRAN\Documents/.Renviron and restarting R. trying URL 'https://jdbc.postgresql.org/download/postgresql-42.7.3.jar' Error in `FUN()`: ! In path: "D:\\RCompile\\CRANpkg\\local\\4.3\\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 D:\RCompile\CRANpkg\local\4.3\CohortAlgebra.Rcheck\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 'D:\temp\2025_03_03_01_50_00_4640\RtmpkfPcaP\file200b459a04ad/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='D:\temp\2025_03_03_01_50_00_4640\RtmpIl9VC9\file273e869bc2495/jdbcDrivers'` to C:\Users\CRAN\Documents/.Renviron and restarting R. trying URL 'https://jdbc.postgresql.org/download/postgresql-42.7.3.jar' Error in `FUN()`: ! In path: "D:\\RCompile\\CRANpkg\\local\\4.3\\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 D:\RCompile\CRANpkg\local\4.3\CohortAlgebra.Rcheck\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 'D:\temp\2025_03_03_01_50_00_4640\RtmpIl9VC9\file273e869bc2495/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-oldrel-windows-x86_64