CRAN Package Check Results for Package cthist

Last updated on 2025-09-22 01:51:17 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.1.12 3.02 35.95 38.97 OK
r-devel-linux-x86_64-debian-gcc 2.1.12 2.26 26.10 28.36 ERROR
r-devel-linux-x86_64-fedora-clang 2.1.12 52.90 OK
r-devel-linux-x86_64-fedora-gcc 2.1.12 48.97 OK
r-devel-windows-x86_64 2.1.12 5.00 61.00 66.00 OK
r-patched-linux-x86_64 2.1.12 2.79 33.77 36.56 OK
r-release-linux-x86_64 2.1.12 2.61 34.71 37.32 OK
r-release-macos-arm64 2.1.12 47.00 OK
r-release-macos-x86_64 2.1.12 59.00 OK
r-release-windows-x86_64 2.1.12 5.00 63.00 68.00 OK
r-oldrel-macos-arm64 2.1.12 51.00 OK
r-oldrel-macos-x86_64 2.1.12 65.00 OK
r-oldrel-windows-x86_64 2.1.12 6.00 67.00 73.00 OK

Check Details

Version: 2.1.12
Check: tests
Result: ERROR Running ‘testthat.R’ [4s/88s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(cthist) > > test_check("cthist") Error downloading version: NCT05827978 version 3 Here's the original error message: Error in curl::curl_fetch_memory(url, handle = handle): Timeout was reached [clinicaltrials.gov]: Resolving timed out after 10001 milliseconds Error downloading version: NCT00942747 version 1 Here's the original error message: Error in curl::curl_fetch_memory(url, handle = handle): Timeout was reached [clinicaltrials.gov]: Resolving timed out after 10000 milliseconds Error downloading version: NCT02110043 version 1 Here's the original error message: Error in curl::curl_fetch_memory(url, handle = handle): Timeout was reached [clinicaltrials.gov]: Resolving timed out after 10003 milliseconds Error downloading version: NCT02110043 version 1 Here's the original error message: Error in curl::curl_fetch_memory(url, handle = handle): Timeout was reached [clinicaltrials.gov]: Resolving timed out after 10001 milliseconds Error downloading version: NCT02110043 version 1 Here's the original error message: Error in curl::curl_fetch_memory(url, handle = handle): Timeout was reached [clinicaltrials.gov]: Connection timed out after 10000 milliseconds NCT02586649 - 4 of 4 2025-09-21 15:19:47.254484 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 2 | WARN 0 | SKIP 0 | PASS 29 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-clinicaltrials_gov_dates.R:2:5'): ClinicalTrials.gov version dates download correctly ── Error in `value[[3L]](cond)`: object 'nctid' not found Backtrace: ▆ 1. └─cthist::clinicaltrials_gov_dates("NCT00942747") at test-clinicaltrials_gov_dates.R:2:5 2. └─base::tryCatch(...) 3. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. ├─base (local) tryCatchOne(...) 5. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 6. └─base (local) tryCatchList(expr, names[-nh], parentenv, handlers[-nh]) 7. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 8. └─value[[3L]](cond) 9. ├─base::message(paste("Error downloading NCT ID:", nctid)) 10. └─base::paste("Error downloading NCT ID:", nctid) ── Error ('test-clinicaltrials_gov_download.R:6:5'): ClinicalTrials.gov history entries mass-download correctly ── <curl_error_operation_timedout/curl_error/error/condition> Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached [clinicaltrials.gov]: Resolving timed out after 10001 milliseconds Backtrace: ▆ 1. ├─cthist::clinicaltrials_gov_download(...) at test-clinicaltrials_gov_download.R:6:5 2. │ ├─httr::http_error("https://clinicaltrials.gov") 3. │ └─httr:::http_error.character("https://clinicaltrials.gov") 4. │ ├─httr::http_error(HEAD(x, ...)) 5. │ └─httr::HEAD(x, ...) 6. │ └─httr:::request_perform(req, hu$handle$handle) 7. │ ├─httr:::request_fetch(req$output, req$url, handle) 8. │ └─httr:::request_fetch.write_memory(req$output, req$url, handle) 9. │ └─curl::curl_fetch_memory(url, handle = handle) 10. └─curl:::raise_libcurl_error(...) [ FAIL 2 | WARN 0 | SKIP 0 | PASS 29 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-gcc