- using R version 4.6.1 (2026-06-24)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-16 (Debian 16.2.0-3) 16.2.0
GNU Fortran (Debian 16.2.0-3) 16.2.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
* current time: 2026-10-10 03:55:29 UTC
- checking for file ‘CohortIncidence/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘CohortIncidence’ version ‘4.2.0’
- 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 serialization versions ... OK
- checking whether package ‘CohortIncidence’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... 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 ... [2s/3s] OK
- checking whether the package can be loaded with stated dependencies ... [2s/2s] OK
- checking whether the package can be unloaded cleanly ... [2s/3s] OK
- checking whether the namespace can be loaded with stated dependencies ... [2s/3s] OK
- checking whether the namespace can be unloaded cleanly ... [2s/3s] OK
- checking loading without being on the library search path ... [2s/3s] OK
- checking whether startup messages can be suppressed ... [2s/3s] 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 ... [11s/15s] OK
- checking Rd files ... [1s/1s] 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 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 ... [9s/13s] ERROR
Running ‘testthat.R’ [8s/12s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(CohortIncidence)
Loading required package: DatabaseConnector
>
> test_check("CohortIncidence")
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: /home/hornik/tmp/scratch/Rtmp2aHGxy/GiBleed_5.3.zip to: /home/hornik/tmp/scratch/Rtmp2aHGxy/GiBleed_5.3.sqlite
Saving _problems/test-CohortIncidence-5.R
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 169 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-CohortIncidence.R:5:3'): executeAnalysis() works ───────────────
Error: not an error
Backtrace:
▆
1. └─Eunomia::getEunomiaConnectionDetails() at test-CohortIncidence.R:5:3
2. └─Eunomia::getDatabaseFile(...)
3. └─Eunomia::extractLoadData(...)
4. └─Eunomia::loadDataFiles(...)
5. ├─DBI::dbExecute(conn = connection, statement = statement)
6. └─DBI::dbExecute(conn = connection, statement = statement)
7. ├─DBI::dbSendStatement(conn, statement, ...)
8. └─DBI::dbSendStatement(conn, statement, ...)
9. ├─DBI::dbSendQuery(conn, statement, ...)
10. └─RSQLite::dbSendQuery(conn, statement, ...)
11. └─RSQLite (local) .local(conn, statement, ...)
12. ├─methods::new(...)
13. │ ├─methods::initialize(value, ...)
14. │ └─methods::initialize(value, ...)
15. └─RSQLite:::result_create(conn@ptr, statement)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 169 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [11s/16s] OK
- checking PDF version of manual ... [5s/8s] OK
- checking HTML version of manual ... [3s/6s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR