- using R Under development (unstable) (2025-11-05 r88988)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)
GNU Fortran (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘CohortGenerator/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘CohortGenerator’ version ‘0.12.2’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘CohortGenerator’ can be installed ... [31s/142s] OK
See the install log for details.
- checking package directory ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [4s/15s] OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [24s/59s] OK
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking sizes of PDF files under ‘inst/doc’ ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... NONE
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [128s/233s] ERROR
Running ‘testthat.R’ [127s/233s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(CohortGenerator)
Loading required package: DatabaseConnector
Loading required package: R6
>
> test_check("CohortGenerator")
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/RtmpGn2PL7/working_dir/RtmpgZdwzr/GiBleed_5.3.zip to: /tmp/RtmpGn2PL7/working_dir/RtmpgZdwzr/GiBleed_5.3.sqlite
Initiating cluster consisting only of main thread
Generating cohort set took 2.38 secs
Initiating cluster consisting only of main thread
Generating cohort set took 1.77 secs
Initiating cluster consisting only of main thread
Generating cohort set took 0.24 secs
Initiating cluster consisting only of main thread
Generating cohort set took 0.87 secs
Initiating cluster consisting only of main thread
Generating cohort set took 1.97 secs
Initiating cluster consisting only of main thread
Generating cohort set took 0.33 secs
Initiating cluster consisting only of main thread
An error occurred while generating cohortName = Fail Cohort. Error: Error in `.createErrorReport()`:
! Error executing SQL:
no such table: main.non_existant_table
An error report has been created at /data/gannet/ripley/R/packages/tests-devel/CohortGenerator.Rcheck/tests/testthat/errorReportSql.txt
[1] "Create cohorts with stopOnError = FALSE"
Initiating cluster consisting only of main thread
An error occurred while generating cohortName = Fail Cohort. Error: Error in `.createErrorReport()`:
! Error executing SQL:
no such table: main.non_existant_table
An error report has been created at /data/gannet/ripley/R/packages/tests-devel/CohortGenerator.Rcheck/tests/testthat/errorReportSql.txt
Generating cohort set took 1.53 secs
Initiating cluster consisting only of main thread
An error occurred while generating cohortName = Fail Cohort. Error: Error in `.createErrorReport()`:
! Error executing SQL:
no such table: main.non_existant_table
An error report has been created at /data/gannet/ripley/R/packages/tests-devel/CohortGenerator.Rcheck/tests/testthat/errorReportSql.txt
Generating cohort set took 1.68 secs
Initiating cluster consisting only of main thread
Generating cohort set took 0.82 secs
Cohorts created in table main.cohort
Initiating cluster consisting only of main thread
Generating cohort set took 2.38 secs
|
| | 0%
|
|================== | 25%
|
|=================================== | 50%
|
|==================================================== | 75%
|
|======================================================================| 100%
|
| | 0%
|
|================== | 25%
|
|=================================== | 50%
|
|==================================================== | 75%
|
|======================================================================| 100%
|
| | 0%
|
|================== | 25%
|
|=================================== | 50%
|
|==================================================== | 75%
|
|======================================================================| 100%
|
| | 0%
|
|================== | 25%
|
|=================================== | 50%
|
|==================================================== | 75%
|
|======================================================================| 100%
Generating sample set took 1.63 secs
Generating sample set took 0.15 secs
|
| | 0%
|
|================== | 25%
|
|=================================== | 50%
|
|==================================================== | 75%
|
|======================================================================| 100%
|
| | 0%
|
|================== | 25%
|
|=================================== | 50%
|
|==================================================== | 75%
|
|======================================================================| 100%
|
| | 0%
|
|================== | 25%
|
|=================================== | 50%
|
|==================================================== | 75%
|
|======================================================================| 100%
|
| | 0%
|
|================== | 25%
|
|=================================== | 50%
|
|==================================================== | 75%
|
|======================================================================| 100%
Generating sample set took 0.72 secs
|
| | 0%
|
|================== | 25%
|
|=================================== | 50%
|
|==================================================== | 75%
|
|======================================================================| 100%
Initiating cluster consisting only of main thread
Generating cohort set took 1.4 secs
Initiating cluster consisting only of main thread
Generating cohort set took 1.66 secs
Initiating cluster consisting only of main thread
Generating cohort set took 1.27 secs
Initiating cluster consisting only of main thread
Generating cohort set took 1.3 secs
Initiating cluster consisting only of main thread
Generating cohort set took 1.24 secs
Initiating cluster consisting only of main thread
Generating cohort set took 1.29 secs
Generating negative control outcomes set took 0.17 secs
Generating negative control outcomes set took 0.37 secs
Negative control set skipped
Generating negative control outcomes set took 0.14 secs
Negative control set skipped
Generating negative control outcomes set took 0.11 secs
Negative control set skipped
trying URL 'https://jdbc.postgresql.org/download/postgresql-42.7.3.jar'
Initiating cluster consisting only of main thread
Generating cohort set took 1.17 secs
Generating negative control outcomes set took 0.12 secs
Initiating cluster consisting only of main thread
Generating cohort set took 1.18 secs
Generating negative control outcomes set took 0.13 secs
Initiating cluster consisting only of main thread
Generating cohort set took 1.17 secs
Generating negative control outcomes set took 0.12 secs
Initiating cluster consisting only of main thread
Generating cohort set took 2.45 secs
Initiating cluster consisting only of main thread
Generating cohort set took 0.77 secs
Initiating cluster consisting only of main thread
Generating cohort set took 1.49 secs
[ FAIL 1 | WARN 1 | SKIP 1 | PASS 412 ]
══ Skipped tests (1) ═══════════════════════════════════════════════════════════
• On CRAN (1): 'test-dbms-platforms.R:101:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-ResultsDataModel.R:9:3'): (code run outside of `test_that()`) ──
Error in `download.file(url = paste0(driverSource$baseUrl, driverSource$fileName),
destfile = file.path(pathToDriver, driverSource$fileName),
method = method)`: cannot open URL 'https://jdbc.postgresql.org/download/postgresql-42.7.3.jar'
Backtrace:
▆
1. └─DatabaseConnector::downloadJdbcDrivers("postgresql", pathToDriver = jdbcDriverFolder) at test-ResultsDataModel.R:9:3
2. └─utils::download.file(...)
[ FAIL 1 | WARN 1 | SKIP 1 | PASS 412 ]
Error: Test failures
In addition: Warning message:
call dbDisconnect() when finished working with a connection
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [107s/108s] OK
- checking PDF version of manual ... OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR