CRAN Package Check Results for Package CohortExplorer

Last updated on 2025-03-15 18:49:50 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.0 7.14 65.48 72.62 ERROR
r-devel-linux-x86_64-debian-gcc 0.1.0 0.31 1.16 1.47 ERROR
r-devel-linux-x86_64-fedora-clang 0.1.0 128.97 NOTE
r-devel-linux-x86_64-fedora-gcc 0.1.0 211.46 NOTE
r-devel-macos-arm64 0.1.0 50.00 OK
r-devel-macos-x86_64 0.1.0 91.00 NOTE
r-devel-windows-x86_64 0.1.0 9.00 77.00 86.00 NOTE
r-patched-linux-x86_64 0.1.0 7.08 64.53 71.61 NOTE
r-release-linux-x86_64 0.1.0 6.99 62.24 69.23 OK
r-release-macos-arm64 0.1.0 47.00 OK
r-release-macos-x86_64 0.1.0 78.00 OK
r-release-windows-x86_64 0.1.0 7.00 80.00 87.00 OK
r-oldrel-macos-arm64 0.1.0 OK
r-oldrel-macos-x86_64 0.1.0 83.00 OK
r-oldrel-windows-x86_64 0.1.0 10.00 94.00 104.00 OK

Check Details

Version: 0.1.0
Check: DESCRIPTION meta-information
Result: NOTE Missing dependency on R >= 4.1.0 because package code uses the pipe |> or function shorthand \(...) syntax added in R 4.1.0. File(s) using such syntax: ‘CreateCohortExplorerApp.R’ Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-macos-x86_64, r-devel-windows-x86_64, r-patched-linux-x86_64

Version: 0.1.0
Check: tests
Result: ERROR Running ‘testOracle.R’ [3s/4s] Running ‘testPostgres.R’ [3s/64s] Running ‘testRedshift.R’ [1s/1s] Running ‘testSqlServer.R’ [3s/5s] Running the tests in ‘tests/testPostgres.R’ failed. Complete output: > library(testthat) > options(dbms = "postgresql") > test_check("CohortExplorer") Loading required package: CohortExplorer 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/RtmpsoqJv1/jdbcDriverse3f0553c26f5'` 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/CohortExplorer.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("CohortExplorer") 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(dbms, pathToDriver = jdbcDriverFolder) at tests/testthat/setup.R:13:3 15. │ └─utils::download.file(...) 16. └─base::.handleSimpleError(...) 17. └─testthat (local) h(simpleError(msg, call)) 18. └─rlang::abort(...) Warning message: 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

Version: 0.1.0
Check: whether package can be installed
Result: ERROR Installation failed. Flavor: r-devel-linux-x86_64-debian-gcc