Last updated on 2024-08-17 02:48:11 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 2.1.11 | 2.68 | 33.76 | 36.44 | OK | |
r-devel-linux-x86_64-debian-gcc | 2.1.11 | 2.09 | 25.18 | 27.27 | OK | |
r-devel-linux-x86_64-fedora-clang | 2.1.11 | 55.52 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 2.1.11 | 52.53 | OK | |||
r-devel-windows-x86_64 | 2.1.11 | 4.00 | 60.00 | 64.00 | OK | |
r-patched-linux-x86_64 | 2.1.11 | 2.98 | 32.10 | 35.08 | OK | |
r-release-linux-x86_64 | 2.1.11 | 2.93 | 32.03 | 34.96 | OK | |
r-release-macos-arm64 | 2.1.11 | 47.00 | OK | |||
r-release-macos-x86_64 | 2.1.11 | 69.00 | OK | |||
r-release-windows-x86_64 | 2.1.11 | 6.00 | 61.00 | 67.00 | OK | |
r-oldrel-macos-arm64 | 2.1.11 | 48.00 | OK | |||
r-oldrel-macos-x86_64 | 2.1.11 | 67.00 | OK | |||
r-oldrel-windows-x86_64 | 2.1.11 | 5.00 | 73.00 | 78.00 | ERROR |
Version: 2.1.11
Check: tests
Result: ERROR
Running 'testthat.R' [25s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(cthist)
>
> test_check("cthist")
Version caused a warning: NCT00098137 version 0
Here's the original warning message:
simpleWarning in open.connection(con, "rb"): cannot open URL 'https://clinicaltrials.gov/api/int/studies/NCT00098137/history/0': HTTP status was '502 Bad Gateway'
NCT02586649 - 4 of 4
2024-08-16 16:53:23.285826 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.
NCT04338971 - 1 of 4
NCT04338971 - 2 of 4
NCT04338971 - 3 of 4
NCT04338971 - 4 of 4
2024-08-16 16:53:25.349216 NCT04338971 processed (4 versions, 100%)
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_pcdate_none.R:9:9'): ClinicalTrials.gov empty primary completion date ──
Error in `version$pcdate`: $ operator is invalid for atomic vectors
Backtrace:
▆
1. └─testthat::expect_equal(is.na(version$pcdate), TRUE) at test-clinicaltrials_gov_version_pcdate_none.R:9:9
2. └─testthat::quasi_label(enquo(object), label, arg = "object")
3. └─rlang::eval_bare(expr, quo_get_env(quo))
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 30 ]
Error: Test failures
Execution halted
Flavor: r-oldrel-windows-x86_64