- using R Under development (unstable) (2026-04-15 r89888)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
Debian clang version 21.1.8 (3+b1)
Debian flang version 21.1.8 (3+b1)
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
* current time: 2026-04-16 22:16:39 UTC
- checking for file ‘cthist/DESCRIPTION’ ... OK
- this is package ‘cthist’ version ‘2.1.12’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [1s/2s] 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 serialization versions ... OK
- checking whether package ‘cthist’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... 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 ... [1s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the package can be unloaded cleanly ... [0s/0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
- checking loading without being on the library search path ... [0s/1s] 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 ... [5s/6s] OK
- checking Rd files ... [0s/0s] 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 examples ... [1s/1s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [10s/92s] ERROR
Running ‘testthat.R’ [9s/92s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(cthist)
>
> test_check("cthist")
Version caused a warning: NCT02110043 version 1
Here's the original warning message:
simpleWarning in readBin(structure(4L, class = c("url", "connection"), conn_id = <pointer: 0x175>), : URL 'https://clinicaltrials.gov/api/int/studies/NCT02110043/history/1': Timeout of 60 seconds was reached
Saving _problems/test-clinicaltrials_gov_version_startdate-12.R
NCT02586649 - 4 of 4
2026-04-17 00:18:35.949333 NCT02586649 processed (4 versions, 100%)
Rows: 1 Columns: 29
-- Column specification --------------------------------------------------------
Delimiter: ","
chr (20): nctid, overall_status, study_start_date_precision, primary_comple...
dbl (3): version_number, total_versions, enrolment
lgl (3): accepts_healthy_volunteers, whystopped, results_posted
date (3): version_date, study_start_date, primary_completion_date
i Use `spec()` to retrieve the full column specification for this data.
i Specify the column types or set `show_col_types = FALSE` to quiet this message.
Rows: 4 Columns: 29
-- Column specification --------------------------------------------------------
Delimiter: ","
chr (20): nctid, overall_status, study_start_date_precision, primary_comple...
dbl (3): version_number, total_versions, enrolment
lgl (3): accepts_healthy_volunteers, whystopped, results_posted
date (3): version_date, study_start_date, primary_completion_date
i Use `spec()` to retrieve the full column specification for this data.
i Specify the column types or set `show_col_types = FALSE` to quiet this message.
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 30 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-clinicaltrials_gov_version_startdate.R:9:9'): ClinicalTrials.gov start date downloads correctly ──
Error in `version$startdate`: $ operator is invalid for atomic vectors
Backtrace:
▆
1. └─testthat::expect_equal(version$startdate, "2014-03-01") at test-clinicaltrials_gov_version_startdate.R:9:9
2. └─testthat::quasi_label(enquo(object), label)
3. └─rlang::eval_bare(expr, quo_get_env(quo))
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 30 ]
Error:
! Test failures.
Execution halted
- checking PDF version of manual ... [4s/7s] OK
- checking HTML version of manual ... [1s/1s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR