CRAN Package Check Results for Package cthist

Last updated on 2026-09-11 01:50:28 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.1.12 2.97 36.32 39.29 OK
r-devel-linux-x86_64-debian-gcc 2.1.12 2.27 27.78 30.05 OK
r-devel-linux-x86_64-fedora-clang 2.1.12 24.98 OK
r-devel-linux-x86_64-fedora-gcc 2.1.12 24.18 OK
r-devel-windows-x86_64 2.1.12 5.00 66.00 71.00 OK
r-patched-linux-x86_64 2.1.12 2.94 33.87 36.81 OK
r-release-linux-x86_64 2.1.12 2.95 33.44 36.39 OK
r-release-macos-arm64 2.1.12 1.00 38.00 39.00 OK
r-release-macos-x86_64 2.1.12 2.00 61.00 63.00 OK
r-release-windows-x86_64 2.1.12 5.00 70.00 75.00 ERROR
r-oldrel-macos-arm64 2.1.12 OK
r-oldrel-macos-x86_64 2.1.12 2.00 57.00 59.00 OK
r-oldrel-windows-x86_64 2.1.12 9.00 73.00 82.00 OK

Check Details

Version: 2.1.12
Check: tests
Result: ERROR Running 'testthat.R' [24s] 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 open.connection(con, "rb"): cannot open URL 'https://clinicaltrials.gov/api/int/studies/NCT02110043/history/1': HTTP status was '502 Bad Gateway' Saving _problems/test-clinicaltrials_gov_version_max_age-12.R NCT02586649 - 4 of 4 2026-09-09 15:20:58.906127 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: 5 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_max_age.R:9:9'): ClinicalTrials.gov maximum age downloads correctly ── Error in `version$max_age`: $ operator is invalid for atomic vectors Backtrace: ▆ 1. └─testthat::expect_equal(version$max_age, "90 Years") at test-clinicaltrials_gov_version_max_age.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 Flavor: r-release-windows-x86_64