- using R Under development (unstable) (2026-08-15 r90413)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
Debian clang version 22.1.8 (1+b2)
Debian flang version 22.1.8 (1+b2)
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
* current time: 2026-08-17 15:25:27 UTC
- checking for file ‘CohortMethod/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘CohortMethod’ version ‘6.0.3’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [3s/5s] OK
- 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 ‘CohortMethod’ can be installed ... OK
See the install log for details.
- used C++ compiler: ‘Debian clang version 22.1.8 (1+b2)’
- 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 ... [5s/5s] OK
- checking whether the package can be loaded with stated dependencies ... [4s/5s] OK
- checking whether the package can be unloaded cleanly ... [4s/5s] OK
- checking whether the namespace can be loaded with stated dependencies ... [4s/5s] OK
- checking whether the namespace can be unloaded cleanly ... [5s/6s] OK
- checking loading without being on the library search path ... [5s/5s] 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 ... [41s/50s] 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 contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... [0s/0s] OK
- checking data for ASCII and uncompressed saves ... OK
- checking line endings in C/C++/Fortran sources/headers ... OK
- checking pragmas in C/C++ headers and code ... OK
- checking compilation flags used ... OK
- checking compiled code ... OK
- checking sizes of PDF files under ‘inst/doc’ ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [12s/16s] OK
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
createPs 5.047 0.556 8.802
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [6s/12s] ERROR
Running ‘testthat.R’ [5s/11s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> test_check("CohortMethod")
Loading required package: CohortMethod
Loading required package: DatabaseConnector
Loading required package: Cyclops
Loading required package: FeatureExtraction
Loading required package: Andromeda
Loading required package: dplyr
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
attempting to download GiBleed
trying URL 'https://raw.githubusercontent.com/OHDSI/EunomiaDatasets/main/datasets/GiBleed/GiBleed_5.3.zip'
Error in `source_dir()`:
! Failed to evaluate './setup.R'.
Caused by error in `utils::download.file()`:
! cannot open URL 'https://raw.githubusercontent.com/OHDSI/EunomiaDatasets/main/datasets/GiBleed/GiBleed_5.3.zip'
Backtrace:
▆
1. ├─testthat::test_check("CohortMethod")
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(...)
11. │ ├─base::withCallingHandlers(...)
12. │ └─base::eval(exprs, env)
13. │ └─base::eval(exprs, env)
14. │ └─Eunomia::getEunomiaConnectionDetails() at ./setup.R:6:3
15. │ └─Eunomia::getDatabaseFile(...)
16. │ └─Eunomia::downloadEunomiaData(...)
17. │ └─utils::download.file(...)
18. └─base::.handleSimpleError(...)
19. └─testthat (local) h(simpleError(msg, call))
20. └─cli::cli_abort(...)
21. └─rlang::abort(...)
Warning message:
In utils::download.file(url = paste(baseUrl, datasetName, zipName, :
cannot open URL 'https://raw.githubusercontent.com/OHDSI/EunomiaDatasets/main/datasets/GiBleed/GiBleed_5.3.zip': HTTP status was '429 Unknown Error'
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [27s/35s] OK
- checking PDF version of manual ... [9s/16s] OK
- checking HTML version of manual ... [2s/3s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR