CRAN Package Check Results for Package cthist

Last updated on 2024-06-22 00:57:56 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.1.9 3.04 39.13 42.17 OK
r-devel-linux-x86_64-debian-gcc 2.1.9 2.71 30.43 33.14 ERROR
r-devel-linux-x86_64-fedora-clang 2.1.9 53.48 OK
r-devel-linux-x86_64-fedora-gcc 2.1.9 53.59 OK
r-devel-windows-x86_64 2.1.9 5.00 58.00 63.00 OK
r-patched-linux-x86_64 2.1.9 3.52 38.10 41.62 OK
r-release-linux-x86_64 2.1.9 3.03 37.17 40.20 OK
r-release-macos-arm64 2.1.9 43.00 OK
r-release-macos-x86_64 2.1.9 54.00 OK
r-release-windows-x86_64 2.1.9 5.00 58.00 63.00 OK
r-oldrel-macos-arm64 2.1.9 48.00 OK
r-oldrel-macos-x86_64 2.1.9 59.00 OK
r-oldrel-windows-x86_64 2.1.9 5.00 62.00 67.00 OK

Check Details

Version: 2.1.9
Check: tests
Result: ERROR Running ‘testthat.R’ [7s/119s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(cthist) > > test_check("cthist") NCT ID caused a warning: NCT00942747 Here's the original warning message: simpleWarning in open.connection(con, "rb"): URL 'https://clinicaltrials.gov/api/int/studies/NCT00942747?history=true': Timeout of 60 seconds was reached NCT02586649 - 4 of 4 2024-06-20 21:11:46.802371 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. [ FAIL 1 | WARN 0 | SKIP 0 | PASS 29 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-clinicaltrials_gov_dates.R:3:5'): ClinicalTrials.gov version dates download correctly ── Error in `result$date`: $ operator is invalid for atomic vectors Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-clinicaltrials_gov_dates.R:3:5 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─"2013-04-15" %in% result$date [ FAIL 1 | WARN 0 | SKIP 0 | PASS 29 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-gcc