Last updated on 2025-12-09 23:52:01 CET.
| Package | ERROR | OK |
|---|---|---|
| cthist | 1 | 12 |
| pubmedtk | 13 |
Current CRAN status: ERROR: 1, OK: 12
Version: 2.1.12
Check: tests
Result: ERROR
Running ‘testthat.R’ [5s/82s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(cthist)
>
> test_check("cthist")
NCT02586649 - 4 of 4
2025-12-09 15:24:44.99399 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.
NCT ID caused a warning: NCT04338971
Here's the original warning message:
simpleWarning in open.connection(con, "rb"): URL 'https://clinicaltrials.gov/api/int/studies/NCT04338971?history=true': Timeout of 60 seconds was reached
Saving _problems/test-overall_status_lengths-4.R
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 30 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-overall_status_lengths.R:2:3'): Overall status lengths parse correctly ──
Error in `UseMethod("pull")`: no applicable method for 'pull' applied to an object of class "character"
Backtrace:
▆
1. ├─cthist::clinicaltrials_gov_download("NCT04338971", quiet = TRUE) at test-overall_status_lengths.R:2:3
2. │ └─clinicaltrials_gov_dates(nctid, FALSE) %>% ...
3. └─dplyr::pull(., "version_date")
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 30 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Current CRAN status: OK: 13