CRAN Package Check Results for Package cthist

Last updated on 2022-12-11 06:49:25 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2.1 3.96 57.43 61.39 ERROR
r-devel-linux-x86_64-debian-gcc 1.2.1 3.56 45.00 48.56 ERROR
r-devel-linux-x86_64-fedora-clang 1.2.1 87.63 ERROR
r-devel-linux-x86_64-fedora-gcc 1.2.1 81.96 ERROR
r-devel-windows-x86_64 1.2.1 8.00 464.00 472.00 ERROR
r-patched-linux-x86_64 1.2.1 3.98 53.28 57.26 ERROR
r-release-linux-x86_64 1.2.1 3.86 54.52 58.38 ERROR
r-release-macos-arm64 1.2.1 123.00 OK
r-release-macos-x86_64 1.2.1 132.00 OK
r-release-windows-x86_64 1.2.1 52.00 458.00 510.00 ERROR
r-oldrel-macos-arm64 1.2.1 120.00 OK
r-oldrel-macos-x86_64 1.2.1 132.00 OK
r-oldrel-windows-ix86+x86_64 1.2.1 11.00 71.00 82.00 OK

Check Details

Version: 1.2.1
Check: tests
Result: ERROR
     Running 'testthat.R' [22s/399s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(cthist)
     >
     > test_check("cthist")
     Warning while downloading version dates for DRKS ID DRKS00005219
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/navigate.do?navigationId=trial.history&TRIAL_ID=DRKS00005219
    
    
     Unable to connect to drks.de
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00004013 version 14
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00004013&version1=DRKS00004013_14_en.html&version2=DRKS00004013_14_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00004013 version 14
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00004013&version1=DRKS00004013_14_en.html&version2=DRKS00004013_14_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00015220 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00015220&version1=DRKS00015220_2_en.html&version2=DRKS00015220_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     [ FAIL 15 | WARN 1 | SKIP 0 | PASS 20 ]
    
     == Failed tests ================================================================
     -- Failure ('test-drks_de_dates.R:3'): DRKS version dates download correctly ---
     "2014-04-17" %in% result || result == "Error" (`actual`) not equal to TRUE (`expected`).
    
     `actual`: FALSE
     `expected`: TRUE
     -- Failure ('test-drks_de_version.R:3'): DRKS.de version downloads correctly ---
     length(result) == 13 || result == "Error" (`actual`) not equal to TRUE (`expected`).
    
     `actual`: FALSE
     `expected`: TRUE
     -- Error ('test-drks_de_version_closingdate.R:9'): DRKS closing date downloads correctly --
     Error in `version$closingdate`: $ operator is invalid for atomic vectors
     Backtrace:
     x
     1. \-testthat::expect_equal(version$closingdate, "2014-09-01") at test-drks_de_version_closingdate.R:9:8
     2. \-testthat::quasi_label(enquo(object), label, arg = "object")
     3. \-rlang::eval_bare(expr, quo_get_env(quo))
     -- Error ('test-drks_de_version_contacts.R:9'): DRKS contacts download correctly --
     Error in `version$contacts`: $ operator is invalid for atomic vectors
     Backtrace:
     x
     1. +-testthat::expect_equal(...) at test-drks_de_version_contacts.R:9:8
     2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
     3. | \-rlang::eval_bare(expr, quo_get_env(quo))
     4. \-jsonlite::fromJSON(version$contacts)
     -- Error ('test-drks_de_version_enrolno.R:9'): DRKS enrolment number downloads correctly --
     Error in `version$enrolno`: $ operator is invalid for atomic vectors
     Backtrace:
     x
     1. \-testthat::expect_equal(version$enrolno, "300") at test-drks_de_version_enrolno.R:9:8
     2. \-testthat::quasi_label(enquo(object), label, arg = "object")
     3. \-rlang::eval_bare(expr, quo_get_env(quo))
     -- Error ('test-drks_de_version_enroltype.R:9'): DRKS enrolment type downloads correctly --
     Error in `version$enroltype`: $ operator is invalid for atomic vectors
     Backtrace:
     x
     1. \-testthat::expect_equal(version$enroltype, "Actual") at test-drks_de_version_enroltype.R:9:8
     2. \-testthat::quasi_label(enquo(object), label, arg = "object")
     3. \-rlang::eval_bare(expr, quo_get_env(quo))
     -- Error ('test-drks_de_version_exclusion_criteria.R:9'): DRKS inclusion criteria download correctly --
     Error in `version$exclusion_criteria`: $ operator is invalid for atomic vectors
     Backtrace:
     x
     1. +-testthat::expect_equal(...) at test-drks_de_version_exclusion_criteria.R:9:8
     2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
     3. | \-rlang::eval_bare(expr, quo_get_env(quo))
     4. \-jsonlite::fromJSON(version$exclusion_criteria)
     -- Error ('test-drks_de_version_gender.R:9'): DRKS gender downloads correctly --
     Error in `version$gender`: $ operator is invalid for atomic vectors
     Backtrace:
     x
     1. \-testthat::expect_equal(version$gender, "Male") at test-drks_de_version_gender.R:9:8
     2. \-testthat::quasi_label(enquo(object), label, arg = "object")
     3. \-rlang::eval_bare(expr, quo_get_env(quo))
     -- Error ('test-drks_de_version_inclusion_criteria.R:9'): DRKS inclusion criteria download correctly --
     Error in `version$inclusion_criteria`: $ operator is invalid for atomic vectors
     Backtrace:
     x
     1. +-testthat::expect_equal(...) at test-drks_de_version_inclusion_criteria.R:9:8
     2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
     3. | \-rlang::eval_bare(expr, quo_get_env(quo))
     4. \-jsonlite::fromJSON(version$inclusion_criteria)
     -- Error ('test-drks_de_version_max_age.R:9'): DRKS maximum age downloads correctly --
     Error in `version$max_age`: $ operator is invalid for atomic vectors
     Backtrace:
     x
     1. \-testthat::expect_equal(version$max_age, "35 Years") at test-drks_de_version_max_age.R:9:8
     2. \-testthat::quasi_label(enquo(object), label, arg = "object")
     3. \-rlang::eval_bare(expr, quo_get_env(quo))
     -- Error ('test-drks_de_version_min_age.R:9'): DRKS minimum age downloads correctly --
     Error in `version$min_age`: $ operator is invalid for atomic vectors
     Backtrace:
     x
     1. \-testthat::expect_equal(version$min_age, "18 Years") at test-drks_de_version_min_age.R:9:8
     2. \-testthat::quasi_label(enquo(object), label, arg = "object")
     3. \-rlang::eval_bare(expr, quo_get_env(quo))
     -- Error ('test-drks_de_version_primaryoutcomes.R:9'): DRKS primary outcomes download correctly --
     Error in `version$primaryoutcomes`: $ operator is invalid for atomic vectors
     Backtrace:
     x
     1. +-testthat::expect_equal(...) at test-drks_de_version_primaryoutcomes.R:9:8
     2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
     3. | \-rlang::eval_bare(expr, quo_get_env(quo))
     4. \-jsonlite::fromJSON(version$primaryoutcomes)
     -- Error ('test-drks_de_version_rstatus.R:9'): DRKS recruitment status downloads correctly --
     Error in `version$rstatus`: $ operator is invalid for atomic vectors
     Backtrace:
     x
     1. \-testthat::expect_equal(version$rstatus, "Recruiting complete, follow-up complete") at test-drks_de_version_rstatus.R:9:8
     2. \-testthat::quasi_label(enquo(object), label, arg = "object")
     3. \-rlang::eval_bare(expr, quo_get_env(quo))
     -- Error ('test-drks_de_version_secondaryoutcomes.R:9'): DRKS secondary outcomes download correctly --
     Error in `version$secondaryoutcomes`: $ operator is invalid for atomic vectors
     Backtrace:
     x
     1. +-testthat::expect_equal(...) at test-drks_de_version_secondaryoutcomes.R:9:8
     2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
     3. | \-rlang::eval_bare(expr, quo_get_env(quo))
     4. \-jsonlite::fromJSON(version$secondaryoutcomes)
     -- Error ('test-drks_de_version_startdate.R:9'): DRKS start date downloads correctly --
     Error in `version$startdate`: $ operator is invalid for atomic vectors
     Backtrace:
     x
     1. \-testthat::expect_equal(version$startdate, "2013-08-09") at test-drks_de_version_startdate.R:9:8
     2. \-testthat::quasi_label(enquo(object), label, arg = "object")
     3. \-rlang::eval_bare(expr, quo_get_env(quo))
    
     [ FAIL 15 | WARN 1 | SKIP 0 | PASS 20 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.2.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [16s/355s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(cthist)
     >
     > test_check("cthist")
     Warning while downloading version dates for DRKS ID DRKS00005219
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/navigate.do?navigationId=trial.history&TRIAL_ID=DRKS00005219
    
    
     Unable to connect to drks.de
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00004013 version 14
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00004013&version1=DRKS00004013_14_en.html&version2=DRKS00004013_14_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00004013 version 14
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00004013&version1=DRKS00004013_14_en.html&version2=DRKS00004013_14_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00015220 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00015220&version1=DRKS00015220_2_en.html&version2=DRKS00015220_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     [ FAIL 15 | WARN 1 | SKIP 0 | PASS 20 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Failure ('test-drks_de_dates.R:3'): DRKS version dates download correctly ───
     "2014-04-17" %in% result || result == "Error" (`actual`) not equal to TRUE (`expected`).
    
     `actual`: FALSE
     `expected`: TRUE
     ── Failure ('test-drks_de_version.R:3'): DRKS.de version downloads correctly ───
     length(result) == 13 || result == "Error" (`actual`) not equal to TRUE (`expected`).
    
     `actual`: FALSE
     `expected`: TRUE
     ── Error ('test-drks_de_version_closingdate.R:9'): DRKS closing date downloads correctly ──
     Error in `version$closingdate`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. └─testthat::expect_equal(version$closingdate, "2014-09-01") at test-drks_de_version_closingdate.R:9:8
     2. └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. └─rlang::eval_bare(expr, quo_get_env(quo))
     ── Error ('test-drks_de_version_contacts.R:9'): DRKS contacts download correctly ──
     Error in `version$contacts`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. ├─testthat::expect_equal(...) at test-drks_de_version_contacts.R:9:8
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─jsonlite::fromJSON(version$contacts)
     ── Error ('test-drks_de_version_enrolno.R:9'): DRKS enrolment number downloads correctly ──
     Error in `version$enrolno`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. └─testthat::expect_equal(version$enrolno, "300") at test-drks_de_version_enrolno.R:9:8
     2. └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. └─rlang::eval_bare(expr, quo_get_env(quo))
     ── Error ('test-drks_de_version_enroltype.R:9'): DRKS enrolment type downloads correctly ──
     Error in `version$enroltype`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. └─testthat::expect_equal(version$enroltype, "Actual") at test-drks_de_version_enroltype.R:9:8
     2. └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. └─rlang::eval_bare(expr, quo_get_env(quo))
     ── Error ('test-drks_de_version_exclusion_criteria.R:9'): DRKS inclusion criteria download correctly ──
     Error in `version$exclusion_criteria`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. ├─testthat::expect_equal(...) at test-drks_de_version_exclusion_criteria.R:9:8
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─jsonlite::fromJSON(version$exclusion_criteria)
     ── Error ('test-drks_de_version_gender.R:9'): DRKS gender downloads correctly ──
     Error in `version$gender`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. └─testthat::expect_equal(version$gender, "Male") at test-drks_de_version_gender.R:9:8
     2. └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. └─rlang::eval_bare(expr, quo_get_env(quo))
     ── Error ('test-drks_de_version_inclusion_criteria.R:9'): DRKS inclusion criteria download correctly ──
     Error in `version$inclusion_criteria`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. ├─testthat::expect_equal(...) at test-drks_de_version_inclusion_criteria.R:9:8
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─jsonlite::fromJSON(version$inclusion_criteria)
     ── Error ('test-drks_de_version_max_age.R:9'): DRKS maximum age downloads correctly ──
     Error in `version$max_age`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. └─testthat::expect_equal(version$max_age, "35 Years") at test-drks_de_version_max_age.R:9:8
     2. └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. └─rlang::eval_bare(expr, quo_get_env(quo))
     ── Error ('test-drks_de_version_min_age.R:9'): DRKS minimum age downloads correctly ──
     Error in `version$min_age`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. └─testthat::expect_equal(version$min_age, "18 Years") at test-drks_de_version_min_age.R:9:8
     2. └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. └─rlang::eval_bare(expr, quo_get_env(quo))
     ── Error ('test-drks_de_version_primaryoutcomes.R:9'): DRKS primary outcomes download correctly ──
     Error in `version$primaryoutcomes`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. ├─testthat::expect_equal(...) at test-drks_de_version_primaryoutcomes.R:9:8
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─jsonlite::fromJSON(version$primaryoutcomes)
     ── Error ('test-drks_de_version_rstatus.R:9'): DRKS recruitment status downloads correctly ──
     Error in `version$rstatus`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. └─testthat::expect_equal(version$rstatus, "Recruiting complete, follow-up complete") at test-drks_de_version_rstatus.R:9:8
     2. └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. └─rlang::eval_bare(expr, quo_get_env(quo))
     ── Error ('test-drks_de_version_secondaryoutcomes.R:9'): DRKS secondary outcomes download correctly ──
     Error in `version$secondaryoutcomes`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. ├─testthat::expect_equal(...) at test-drks_de_version_secondaryoutcomes.R:9:8
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─jsonlite::fromJSON(version$secondaryoutcomes)
     ── Error ('test-drks_de_version_startdate.R:9'): DRKS start date downloads correctly ──
     Error in `version$startdate`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. └─testthat::expect_equal(version$startdate, "2013-08-09") at test-drks_de_version_startdate.R:9:8
     2. └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. └─rlang::eval_bare(expr, quo_get_env(quo))
    
     [ FAIL 15 | WARN 1 | SKIP 0 | PASS 20 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.2.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [27s/407s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(cthist)
     >
     > test_check("cthist")
     Warning while downloading version dates for DRKS ID DRKS00005219
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/navigate.do?navigationId=trial.history&TRIAL_ID=DRKS00005219
    
    
     Warning while downloading version dates for DRKS ID DRKS00003961
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/navigate.do?navigationId=trial.history&TRIAL_ID=DRKS00003961
    
    
     Version caused a warning: DRKS00003961 version 0
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00003961&version1=DRKS00003961_en.html&version2=DRKS00003961_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00004013 version 14
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00004013&version1=DRKS00004013_14_en.html&version2=DRKS00004013_14_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00004013 version 14
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00004013&version1=DRKS00004013_14_en.html&version2=DRKS00004013_14_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00015220 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00015220&version1=DRKS00015220_2_en.html&version2=DRKS00015220_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     [ FAIL 16 | WARN 1 | SKIP 0 | PASS 19 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Failure ('test-drks_de_dates.R:3'): DRKS version dates download correctly ───
     "2014-04-17" %in% result || result == "Error" (`actual`) not equal to TRUE (`expected`).
    
     `actual`: FALSE
     `expected`: TRUE
     ── Error ('test-drks_de_download.R:6'): DRKS.de history entries mass-download correctly ──
     Error in `versiondata$rstatus`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. ├─cthist::drks_de_download(c("DRKS00003961"), filename, TRUE) at test-drks_de_download.R:6:4
     2. │ ├─... %>% ...
     3. │ └─tibble::tribble(...)
     4. │ └─tibble:::extract_frame_data_from_dots(...)
     5. │ └─rlang::list2(...)
     6. └─readr::write_csv(., file = output_filename, append = TRUE)
     7. └─readr::write_delim(...)
     8. ├─base::stopifnot(is.data.frame(x))
     9. └─base::is.data.frame(x)
     ── Failure ('test-drks_de_version.R:3'): DRKS.de version downloads correctly ───
     length(result) == 13 || result == "Error" (`actual`) not equal to TRUE (`expected`).
    
     `actual`: FALSE
     `expected`: TRUE
     ── Error ('test-drks_de_version_closingdate.R:9'): DRKS closing date downloads correctly ──
     Error in `version$closingdate`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. └─testthat::expect_equal(version$closingdate, "2014-09-01") at test-drks_de_version_closingdate.R:9:8
     2. └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. └─rlang::eval_bare(expr, quo_get_env(quo))
     ── Error ('test-drks_de_version_contacts.R:9'): DRKS contacts download correctly ──
     Error in `version$contacts`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. ├─testthat::expect_equal(...) at test-drks_de_version_contacts.R:9:8
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─jsonlite::fromJSON(version$contacts)
     ── Error ('test-drks_de_version_enrolno.R:9'): DRKS enrolment number downloads correctly ──
     Error in `version$enrolno`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. └─testthat::expect_equal(version$enrolno, "300") at test-drks_de_version_enrolno.R:9:8
     2. └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. └─rlang::eval_bare(expr, quo_get_env(quo))
     ── Error ('test-drks_de_version_enroltype.R:9'): DRKS enrolment type downloads correctly ──
     Error in `version$enroltype`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. └─testthat::expect_equal(version$enroltype, "Actual") at test-drks_de_version_enroltype.R:9:8
     2. └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. └─rlang::eval_bare(expr, quo_get_env(quo))
     ── Error ('test-drks_de_version_exclusion_criteria.R:9'): DRKS inclusion criteria download correctly ──
     Error in `version$exclusion_criteria`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. ├─testthat::expect_equal(...) at test-drks_de_version_exclusion_criteria.R:9:8
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─jsonlite::fromJSON(version$exclusion_criteria)
     ── Error ('test-drks_de_version_gender.R:9'): DRKS gender downloads correctly ──
     Error in `version$gender`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. └─testthat::expect_equal(version$gender, "Male") at test-drks_de_version_gender.R:9:8
     2. └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. └─rlang::eval_bare(expr, quo_get_env(quo))
     ── Error ('test-drks_de_version_inclusion_criteria.R:9'): DRKS inclusion criteria download correctly ──
     Error in `version$inclusion_criteria`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. ├─testthat::expect_equal(...) at test-drks_de_version_inclusion_criteria.R:9:8
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─jsonlite::fromJSON(version$inclusion_criteria)
     ── Error ('test-drks_de_version_max_age.R:9'): DRKS maximum age downloads correctly ──
     Error in `version$max_age`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. └─testthat::expect_equal(version$max_age, "35 Years") at test-drks_de_version_max_age.R:9:8
     2. └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. └─rlang::eval_bare(expr, quo_get_env(quo))
     ── Error ('test-drks_de_version_min_age.R:9'): DRKS minimum age downloads correctly ──
     Error in `version$min_age`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. └─testthat::expect_equal(version$min_age, "18 Years") at test-drks_de_version_min_age.R:9:8
     2. └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. └─rlang::eval_bare(expr, quo_get_env(quo))
     ── Error ('test-drks_de_version_primaryoutcomes.R:9'): DRKS primary outcomes download correctly ──
     Error in `version$primaryoutcomes`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. ├─testthat::expect_equal(...) at test-drks_de_version_primaryoutcomes.R:9:8
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─jsonlite::fromJSON(version$primaryoutcomes)
     ── Error ('test-drks_de_version_rstatus.R:9'): DRKS recruitment status downloads correctly ──
     Error in `version$rstatus`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. └─testthat::expect_equal(version$rstatus, "Recruiting complete, follow-up complete") at test-drks_de_version_rstatus.R:9:8
     2. └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. └─rlang::eval_bare(expr, quo_get_env(quo))
     ── Error ('test-drks_de_version_secondaryoutcomes.R:9'): DRKS secondary outcomes download correctly ──
     Error in `version$secondaryoutcomes`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. ├─testthat::expect_equal(...) at test-drks_de_version_secondaryoutcomes.R:9:8
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─jsonlite::fromJSON(version$secondaryoutcomes)
     ── Error ('test-drks_de_version_startdate.R:9'): DRKS start date downloads correctly ──
     Error in `version$startdate`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. └─testthat::expect_equal(version$startdate, "2013-08-09") at test-drks_de_version_startdate.R:9:8
     2. └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. └─rlang::eval_bare(expr, quo_get_env(quo))
    
     [ FAIL 16 | WARN 1 | SKIP 0 | PASS 19 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.2.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [25s/356s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(cthist)
     >
     > test_check("cthist")
     Warning while downloading version dates for DRKS ID DRKS00005219
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/navigate.do?navigationId=trial.history&TRIAL_ID=DRKS00005219
    
    
     Unable to connect to drks.de
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00004013 version 14
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00004013&version1=DRKS00004013_14_en.html&version2=DRKS00004013_14_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00004013 version 14
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00004013&version1=DRKS00004013_14_en.html&version2=DRKS00004013_14_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00015220 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00015220&version1=DRKS00015220_2_en.html&version2=DRKS00015220_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     [ FAIL 15 | WARN 1 | SKIP 0 | PASS 20 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Failure ('test-drks_de_dates.R:3'): DRKS version dates download correctly ───
     "2014-04-17" %in% result || result == "Error" (`actual`) not equal to TRUE (`expected`).
    
     `actual`: FALSE
     `expected`: TRUE
     ── Failure ('test-drks_de_version.R:3'): DRKS.de version downloads correctly ───
     length(result) == 13 || result == "Error" (`actual`) not equal to TRUE (`expected`).
    
     `actual`: FALSE
     `expected`: TRUE
     ── Error ('test-drks_de_version_closingdate.R:9'): DRKS closing date downloads correctly ──
     Error in `version$closingdate`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. └─testthat::expect_equal(version$closingdate, "2014-09-01") at test-drks_de_version_closingdate.R:9:8
     2. └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. └─rlang::eval_bare(expr, quo_get_env(quo))
     ── Error ('test-drks_de_version_contacts.R:9'): DRKS contacts download correctly ──
     Error in `version$contacts`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. ├─testthat::expect_equal(...) at test-drks_de_version_contacts.R:9:8
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─jsonlite::fromJSON(version$contacts)
     ── Error ('test-drks_de_version_enrolno.R:9'): DRKS enrolment number downloads correctly ──
     Error in `version$enrolno`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. └─testthat::expect_equal(version$enrolno, "300") at test-drks_de_version_enrolno.R:9:8
     2. └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. └─rlang::eval_bare(expr, quo_get_env(quo))
     ── Error ('test-drks_de_version_enroltype.R:9'): DRKS enrolment type downloads correctly ──
     Error in `version$enroltype`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. └─testthat::expect_equal(version$enroltype, "Actual") at test-drks_de_version_enroltype.R:9:8
     2. └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. └─rlang::eval_bare(expr, quo_get_env(quo))
     ── Error ('test-drks_de_version_exclusion_criteria.R:9'): DRKS inclusion criteria download correctly ──
     Error in `version$exclusion_criteria`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. ├─testthat::expect_equal(...) at test-drks_de_version_exclusion_criteria.R:9:8
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─jsonlite::fromJSON(version$exclusion_criteria)
     ── Error ('test-drks_de_version_gender.R:9'): DRKS gender downloads correctly ──
     Error in `version$gender`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. └─testthat::expect_equal(version$gender, "Male") at test-drks_de_version_gender.R:9:8
     2. └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. └─rlang::eval_bare(expr, quo_get_env(quo))
     ── Error ('test-drks_de_version_inclusion_criteria.R:9'): DRKS inclusion criteria download correctly ──
     Error in `version$inclusion_criteria`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. ├─testthat::expect_equal(...) at test-drks_de_version_inclusion_criteria.R:9:8
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─jsonlite::fromJSON(version$inclusion_criteria)
     ── Error ('test-drks_de_version_max_age.R:9'): DRKS maximum age downloads correctly ──
     Error in `version$max_age`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. └─testthat::expect_equal(version$max_age, "35 Years") at test-drks_de_version_max_age.R:9:8
     2. └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. └─rlang::eval_bare(expr, quo_get_env(quo))
     ── Error ('test-drks_de_version_min_age.R:9'): DRKS minimum age downloads correctly ──
     Error in `version$min_age`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. └─testthat::expect_equal(version$min_age, "18 Years") at test-drks_de_version_min_age.R:9:8
     2. └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. └─rlang::eval_bare(expr, quo_get_env(quo))
     ── Error ('test-drks_de_version_primaryoutcomes.R:9'): DRKS primary outcomes download correctly ──
     Error in `version$primaryoutcomes`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. ├─testthat::expect_equal(...) at test-drks_de_version_primaryoutcomes.R:9:8
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─jsonlite::fromJSON(version$primaryoutcomes)
     ── Error ('test-drks_de_version_rstatus.R:9'): DRKS recruitment status downloads correctly ──
     Error in `version$rstatus`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. └─testthat::expect_equal(version$rstatus, "Recruiting complete, follow-up complete") at test-drks_de_version_rstatus.R:9:8
     2. └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. └─rlang::eval_bare(expr, quo_get_env(quo))
     ── Error ('test-drks_de_version_secondaryoutcomes.R:9'): DRKS secondary outcomes download correctly ──
     Error in `version$secondaryoutcomes`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. ├─testthat::expect_equal(...) at test-drks_de_version_secondaryoutcomes.R:9:8
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─jsonlite::fromJSON(version$secondaryoutcomes)
     ── Error ('test-drks_de_version_startdate.R:9'): DRKS start date downloads correctly ──
     Error in `version$startdate`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. └─testthat::expect_equal(version$startdate, "2013-08-09") at test-drks_de_version_startdate.R:9:8
     2. └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. └─rlang::eval_bare(expr, quo_get_env(quo))
    
     [ FAIL 15 | WARN 1 | SKIP 0 | PASS 20 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 1.2.1
Check: tests
Result: ERROR
     Running 'testthat.R' [398s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(cthist)
     >
     > test_check("cthist")
     Warning while downloading version dates for DRKS ID DRKS00005219
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/navigate.do?navigationId=trial.history&TRIAL_ID=DRKS00005219
    
    
     Unable to connect to drks.de
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00004013 version 14
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00004013&version1=DRKS00004013_14_en.html&version2=DRKS00004013_14_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00004013 version 14
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00004013&version1=DRKS00004013_14_en.html&version2=DRKS00004013_14_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     [ FAIL 15 | WARN 1 | SKIP 0 | PASS 20 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Failure ('test-drks_de_dates.R:3'): DRKS version dates download correctly ───
     "2014-04-17" %in% result || result == "Error" (`actual`) not equal to TRUE (`expected`).
    
     `actual`: FALSE
     `expected`: TRUE
     ── Failure ('test-drks_de_version.R:3'): DRKS.de version downloads correctly ───
     length(result) == 13 || result == "Error" (`actual`) not equal to TRUE (`expected`).
    
     `actual`: FALSE
     `expected`: TRUE
     ── Error ('test-drks_de_version_closingdate.R:9'): DRKS closing date downloads correctly ──
     Error in `version$closingdate`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. └─testthat::expect_equal(version$closingdate, "2014-09-01") at test-drks_de_version_closingdate.R:9:8
     2. └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. └─rlang::eval_bare(expr, quo_get_env(quo))
     ── Error ('test-drks_de_version_contacts.R:9'): DRKS contacts download correctly ──
     Error in `version$contacts`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. ├─testthat::expect_equal(...) at test-drks_de_version_contacts.R:9:8
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─jsonlite::fromJSON(version$contacts)
     ── Error ('test-drks_de_version_enrolno.R:9'): DRKS enrolment number downloads correctly ──
     Error in `version$enrolno`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. └─testthat::expect_equal(version$enrolno, "300") at test-drks_de_version_enrolno.R:9:8
     2. └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. └─rlang::eval_bare(expr, quo_get_env(quo))
     ── Error ('test-drks_de_version_enroltype.R:9'): DRKS enrolment type downloads correctly ──
     Error in `version$enroltype`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. └─testthat::expect_equal(version$enroltype, "Actual") at test-drks_de_version_enroltype.R:9:8
     2. └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. └─rlang::eval_bare(expr, quo_get_env(quo))
     ── Error ('test-drks_de_version_exclusion_criteria.R:9'): DRKS inclusion criteria download correctly ──
     Error in `version$exclusion_criteria`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. ├─testthat::expect_equal(...) at test-drks_de_version_exclusion_criteria.R:9:8
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─jsonlite::fromJSON(version$exclusion_criteria)
     ── Error ('test-drks_de_version_gender.R:9'): DRKS gender downloads correctly ──
     Error in `version$gender`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. └─testthat::expect_equal(version$gender, "Male") at test-drks_de_version_gender.R:9:8
     2. └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. └─rlang::eval_bare(expr, quo_get_env(quo))
     ── Error ('test-drks_de_version_inclusion_criteria.R:9'): DRKS inclusion criteria download correctly ──
     Error in `version$inclusion_criteria`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. ├─testthat::expect_equal(...) at test-drks_de_version_inclusion_criteria.R:9:8
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─jsonlite::fromJSON(version$inclusion_criteria)
     ── Error ('test-drks_de_version_max_age.R:9'): DRKS maximum age downloads correctly ──
     Error in `version$max_age`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. └─testthat::expect_equal(version$max_age, "35 Years") at test-drks_de_version_max_age.R:9:8
     2. └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. └─rlang::eval_bare(expr, quo_get_env(quo))
     ── Error ('test-drks_de_version_min_age.R:9'): DRKS minimum age downloads correctly ──
     Error in `version$min_age`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. └─testthat::expect_equal(version$min_age, "18 Years") at test-drks_de_version_min_age.R:9:8
     2. └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. └─rlang::eval_bare(expr, quo_get_env(quo))
     ── Error ('test-drks_de_version_primaryoutcomes.R:9'): DRKS primary outcomes download correctly ──
     Error in `version$primaryoutcomes`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. ├─testthat::expect_equal(...) at test-drks_de_version_primaryoutcomes.R:9:8
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─jsonlite::fromJSON(version$primaryoutcomes)
     ── Failure ('test-drks_de_version_rstatus.R:9'): DRKS recruitment status downloads correctly ──
     version$rstatus (`actual`) not equal to "Recruiting complete, follow-up complete" (`expected`).
    
     `actual`:
     `expected`: "Recruiting complete, follow-up complete"
     ── Error ('test-drks_de_version_secondaryoutcomes.R:9'): DRKS secondary outcomes download correctly ──
     Error in `version$secondaryoutcomes`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. ├─testthat::expect_equal(...) at test-drks_de_version_secondaryoutcomes.R:9:8
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─jsonlite::fromJSON(version$secondaryoutcomes)
     ── Error ('test-drks_de_version_startdate.R:9'): DRKS start date downloads correctly ──
     Error in `version$startdate`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. └─testthat::expect_equal(version$startdate, "2013-08-09") at test-drks_de_version_startdate.R:9:8
     2. └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. └─rlang::eval_bare(expr, quo_get_env(quo))
    
     [ FAIL 15 | WARN 1 | SKIP 0 | PASS 20 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-windows-x86_64

Version: 1.2.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [20s/286s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(cthist)
     >
     > test_check("cthist")
     Warning while downloading version dates for DRKS ID DRKS00005219
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/navigate.do?navigationId=trial.history&TRIAL_ID=DRKS00005219
    
    
     Unable to connect to drks.de
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00004013 version 14
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00004013&version1=DRKS00004013_14_en.html&version2=DRKS00004013_14_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00015220 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00015220&version1=DRKS00015220_2_en.html&version2=DRKS00015220_2_en.html
    
    
     [ FAIL 15 | WARN 1 | SKIP 0 | PASS 20 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Failure ('test-drks_de_dates.R:3'): DRKS version dates download correctly ───
     "2014-04-17" %in% result || result == "Error" (`actual`) not equal to TRUE (`expected`).
    
     `actual`: FALSE
     `expected`: TRUE
     ── Failure ('test-drks_de_version.R:3'): DRKS.de version downloads correctly ───
     length(result) == 13 || result == "Error" (`actual`) not equal to TRUE (`expected`).
    
     `actual`: FALSE
     `expected`: TRUE
     ── Error ('test-drks_de_version_closingdate.R:9'): DRKS closing date downloads correctly ──
     Error in `version$closingdate`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. └─testthat::expect_equal(version$closingdate, "2014-09-01") at test-drks_de_version_closingdate.R:9:8
     2. └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. └─rlang::eval_bare(expr, quo_get_env(quo))
     ── Error ('test-drks_de_version_contacts.R:9'): DRKS contacts download correctly ──
     Error in `version$contacts`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. ├─testthat::expect_equal(...) at test-drks_de_version_contacts.R:9:8
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─jsonlite::fromJSON(version$contacts)
     ── Failure ('test-drks_de_version_enrolno.R:9'): DRKS enrolment number downloads correctly ──
     version$enrolno (`actual`) not equal to "300" (`expected`).
    
     `actual`:
     `expected`: "300"
     ── Error ('test-drks_de_version_enroltype.R:9'): DRKS enrolment type downloads correctly ──
     Error in `version$enroltype`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. └─testthat::expect_equal(version$enroltype, "Actual") at test-drks_de_version_enroltype.R:9:8
     2. └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. └─rlang::eval_bare(expr, quo_get_env(quo))
     ── Error ('test-drks_de_version_exclusion_criteria.R:9'): DRKS inclusion criteria download correctly ──
     Error in `version$exclusion_criteria`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. ├─testthat::expect_equal(...) at test-drks_de_version_exclusion_criteria.R:9:8
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─jsonlite::fromJSON(version$exclusion_criteria)
     ── Error ('test-drks_de_version_gender.R:9'): DRKS gender downloads correctly ──
     Error in `version$gender`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. └─testthat::expect_equal(version$gender, "Male") at test-drks_de_version_gender.R:9:8
     2. └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. └─rlang::eval_bare(expr, quo_get_env(quo))
     ── Error ('test-drks_de_version_inclusion_criteria.R:9'): DRKS inclusion criteria download correctly ──
     Error in `version$inclusion_criteria`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. ├─testthat::expect_equal(...) at test-drks_de_version_inclusion_criteria.R:9:8
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─jsonlite::fromJSON(version$inclusion_criteria)
     ── Error ('test-drks_de_version_max_age.R:9'): DRKS maximum age downloads correctly ──
     Error in `version$max_age`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. └─testthat::expect_equal(version$max_age, "35 Years") at test-drks_de_version_max_age.R:9:8
     2. └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. └─rlang::eval_bare(expr, quo_get_env(quo))
     ── Error ('test-drks_de_version_min_age.R:9'): DRKS minimum age downloads correctly ──
     Error in `version$min_age`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. └─testthat::expect_equal(version$min_age, "18 Years") at test-drks_de_version_min_age.R:9:8
     2. └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. └─rlang::eval_bare(expr, quo_get_env(quo))
     ── Failure ('test-drks_de_version_primaryoutcomes.R:9'): DRKS primary outcomes download correctly ──
     jsonlite::fromJSON(version$primaryoutcomes) (`actual`) not equal to "Resting state Parameters from fMRI- ReHo (regional homogeneity) and ALFF (amplitude of low frequency fluctuation)- to be messured once, 1h after drug intake" (`expected`).
    
     `actual` is a list
     `expected` is a character vector ('Resting state Parameters from fMRI- ReHo (regional homogeneity) and ALFF (amplitude of low frequency fluctuation)- to be messured once, 1h after drug intake')
     ── Error ('test-drks_de_version_rstatus.R:9'): DRKS recruitment status downloads correctly ──
     Error in `version$rstatus`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. └─testthat::expect_equal(version$rstatus, "Recruiting complete, follow-up complete") at test-drks_de_version_rstatus.R:9:8
     2. └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. └─rlang::eval_bare(expr, quo_get_env(quo))
     ── Failure ('test-drks_de_version_secondaryoutcomes.R:9'): DRKS secondary outcomes download correctly ──
     jsonlite::fromJSON(version$secondaryoutcomes) (`actual`) not equal to "Performance in neuropsychological testing (BOMAT, ZVT, digit span task, dual n-back, PVT) 2-5h after drug intake and the number of self-reported side effects until 5 h after drug intake\n" (`expected`).
    
     `actual` is a list
     `expected` is a character vector ('Performance in neuropsychological testing (BOMAT, ZVT, digit span task, dual n-back, PVT) 2-5h after drug intake and the number of self-reported side effects until 5 h after drug intake\n')
     ── Failure ('test-drks_de_version_startdate.R:9'): DRKS start date downloads correctly ──
     version$startdate (`actual`) not equal to "2013-08-09" (`expected`).
    
     `actual`:
     `expected`: "2013-08-09"
    
     [ FAIL 15 | WARN 1 | SKIP 0 | PASS 20 ]
     Error: Test failures
     Execution halted
Flavor: r-patched-linux-x86_64

Version: 1.2.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [21s/359s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(cthist)
     >
     > test_check("cthist")
     Warning while downloading version dates for DRKS ID DRKS00005219
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/navigate.do?navigationId=trial.history&TRIAL_ID=DRKS00005219
    
    
     Unable to connect to drks.de
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00004013 version 14
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00004013&version1=DRKS00004013_14_en.html&version2=DRKS00004013_14_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00004013 version 14
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00004013&version1=DRKS00004013_14_en.html&version2=DRKS00004013_14_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00015220 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00015220&version1=DRKS00015220_2_en.html&version2=DRKS00015220_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     [ FAIL 15 | WARN 1 | SKIP 0 | PASS 20 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Failure ('test-drks_de_dates.R:3'): DRKS version dates download correctly ───
     "2014-04-17" %in% result || result == "Error" (`actual`) not equal to TRUE (`expected`).
    
     `actual`: FALSE
     `expected`: TRUE
     ── Failure ('test-drks_de_version.R:3'): DRKS.de version downloads correctly ───
     length(result) == 13 || result == "Error" (`actual`) not equal to TRUE (`expected`).
    
     `actual`: FALSE
     `expected`: TRUE
     ── Error ('test-drks_de_version_closingdate.R:9'): DRKS closing date downloads correctly ──
     Error in `version$closingdate`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. └─testthat::expect_equal(version$closingdate, "2014-09-01") at test-drks_de_version_closingdate.R:9:8
     2. └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. └─rlang::eval_bare(expr, quo_get_env(quo))
     ── Error ('test-drks_de_version_contacts.R:9'): DRKS contacts download correctly ──
     Error in `version$contacts`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. ├─testthat::expect_equal(...) at test-drks_de_version_contacts.R:9:8
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─jsonlite::fromJSON(version$contacts)
     ── Error ('test-drks_de_version_enrolno.R:9'): DRKS enrolment number downloads correctly ──
     Error in `version$enrolno`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. └─testthat::expect_equal(version$enrolno, "300") at test-drks_de_version_enrolno.R:9:8
     2. └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. └─rlang::eval_bare(expr, quo_get_env(quo))
     ── Error ('test-drks_de_version_enroltype.R:9'): DRKS enrolment type downloads correctly ──
     Error in `version$enroltype`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. └─testthat::expect_equal(version$enroltype, "Actual") at test-drks_de_version_enroltype.R:9:8
     2. └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. └─rlang::eval_bare(expr, quo_get_env(quo))
     ── Error ('test-drks_de_version_exclusion_criteria.R:9'): DRKS inclusion criteria download correctly ──
     Error in `version$exclusion_criteria`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. ├─testthat::expect_equal(...) at test-drks_de_version_exclusion_criteria.R:9:8
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─jsonlite::fromJSON(version$exclusion_criteria)
     ── Error ('test-drks_de_version_gender.R:9'): DRKS gender downloads correctly ──
     Error in `version$gender`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. └─testthat::expect_equal(version$gender, "Male") at test-drks_de_version_gender.R:9:8
     2. └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. └─rlang::eval_bare(expr, quo_get_env(quo))
     ── Error ('test-drks_de_version_inclusion_criteria.R:9'): DRKS inclusion criteria download correctly ──
     Error in `version$inclusion_criteria`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. ├─testthat::expect_equal(...) at test-drks_de_version_inclusion_criteria.R:9:8
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─jsonlite::fromJSON(version$inclusion_criteria)
     ── Error ('test-drks_de_version_max_age.R:9'): DRKS maximum age downloads correctly ──
     Error in `version$max_age`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. └─testthat::expect_equal(version$max_age, "35 Years") at test-drks_de_version_max_age.R:9:8
     2. └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. └─rlang::eval_bare(expr, quo_get_env(quo))
     ── Error ('test-drks_de_version_min_age.R:9'): DRKS minimum age downloads correctly ──
     Error in `version$min_age`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. └─testthat::expect_equal(version$min_age, "18 Years") at test-drks_de_version_min_age.R:9:8
     2. └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. └─rlang::eval_bare(expr, quo_get_env(quo))
     ── Error ('test-drks_de_version_primaryoutcomes.R:9'): DRKS primary outcomes download correctly ──
     Error in `version$primaryoutcomes`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. ├─testthat::expect_equal(...) at test-drks_de_version_primaryoutcomes.R:9:8
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─jsonlite::fromJSON(version$primaryoutcomes)
     ── Error ('test-drks_de_version_rstatus.R:9'): DRKS recruitment status downloads correctly ──
     Error in `version$rstatus`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. └─testthat::expect_equal(version$rstatus, "Recruiting complete, follow-up complete") at test-drks_de_version_rstatus.R:9:8
     2. └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. └─rlang::eval_bare(expr, quo_get_env(quo))
     ── Error ('test-drks_de_version_secondaryoutcomes.R:9'): DRKS secondary outcomes download correctly ──
     Error in `version$secondaryoutcomes`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. ├─testthat::expect_equal(...) at test-drks_de_version_secondaryoutcomes.R:9:8
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─jsonlite::fromJSON(version$secondaryoutcomes)
     ── Error ('test-drks_de_version_startdate.R:9'): DRKS start date downloads correctly ──
     Error in `version$startdate`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. └─testthat::expect_equal(version$startdate, "2013-08-09") at test-drks_de_version_startdate.R:9:8
     2. └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. └─rlang::eval_bare(expr, quo_get_env(quo))
    
     [ FAIL 15 | WARN 1 | SKIP 0 | PASS 20 ]
     Error: Test failures
     Execution halted
Flavor: r-release-linux-x86_64

Version: 1.2.1
Check: tests
Result: ERROR
     Running 'testthat.R' [394s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(cthist)
     >
     > test_check("cthist")
     Warning while downloading version dates for DRKS ID DRKS00005219
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/navigate.do?navigationId=trial.history&TRIAL_ID=DRKS00005219
    
    
     Unable to connect to drks.de
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00004013 version 14
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00004013&version1=DRKS00004013_14_en.html&version2=DRKS00004013_14_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00004013 version 14
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00004013&version1=DRKS00004013_14_en.html&version2=DRKS00004013_14_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00015220 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00015220&version1=DRKS00015220_2_en.html&version2=DRKS00015220_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     Version caused a warning: DRKS00005219 version 2
     Here's the original warning message:
     simpleWarning: Client error: (404) Not Found https://drks.de/drks_web/compareTrialVersions.do?TRIAL_ID=DRKS00005219&version1=DRKS00005219_2_en.html&version2=DRKS00005219_2_en.html
    
    
     [ FAIL 15 | WARN 1 | SKIP 0 | PASS 20 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Failure ('test-drks_de_dates.R:3'): DRKS version dates download correctly ───
     "2014-04-17" %in% result || result == "Error" (`actual`) not equal to TRUE (`expected`).
    
     `actual`: FALSE
     `expected`: TRUE
     ── Failure ('test-drks_de_version.R:3'): DRKS.de version downloads correctly ───
     length(result) == 13 || result == "Error" (`actual`) not equal to TRUE (`expected`).
    
     `actual`: FALSE
     `expected`: TRUE
     ── Error ('test-drks_de_version_closingdate.R:9'): DRKS closing date downloads correctly ──
     Error in `version$closingdate`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. └─testthat::expect_equal(version$closingdate, "2014-09-01") at test-drks_de_version_closingdate.R:9:8
     2. └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. └─rlang::eval_bare(expr, quo_get_env(quo))
     ── Error ('test-drks_de_version_contacts.R:9'): DRKS contacts download correctly ──
     Error in `version$contacts`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. ├─testthat::expect_equal(...) at test-drks_de_version_contacts.R:9:8
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─jsonlite::fromJSON(version$contacts)
     ── Error ('test-drks_de_version_enrolno.R:9'): DRKS enrolment number downloads correctly ──
     Error in `version$enrolno`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. └─testthat::expect_equal(version$enrolno, "300") at test-drks_de_version_enrolno.R:9:8
     2. └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. └─rlang::eval_bare(expr, quo_get_env(quo))
     ── Error ('test-drks_de_version_enroltype.R:9'): DRKS enrolment type downloads correctly ──
     Error in `version$enroltype`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. └─testthat::expect_equal(version$enroltype, "Actual") at test-drks_de_version_enroltype.R:9:8
     2. └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. └─rlang::eval_bare(expr, quo_get_env(quo))
     ── Error ('test-drks_de_version_exclusion_criteria.R:9'): DRKS inclusion criteria download correctly ──
     Error in `version$exclusion_criteria`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. ├─testthat::expect_equal(...) at test-drks_de_version_exclusion_criteria.R:9:8
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─jsonlite::fromJSON(version$exclusion_criteria)
     ── Error ('test-drks_de_version_gender.R:9'): DRKS gender downloads correctly ──
     Error in `version$gender`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. └─testthat::expect_equal(version$gender, "Male") at test-drks_de_version_gender.R:9:8
     2. └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. └─rlang::eval_bare(expr, quo_get_env(quo))
     ── Error ('test-drks_de_version_inclusion_criteria.R:9'): DRKS inclusion criteria download correctly ──
     Error in `version$inclusion_criteria`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. ├─testthat::expect_equal(...) at test-drks_de_version_inclusion_criteria.R:9:8
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─jsonlite::fromJSON(version$inclusion_criteria)
     ── Error ('test-drks_de_version_max_age.R:9'): DRKS maximum age downloads correctly ──
     Error in `version$max_age`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. └─testthat::expect_equal(version$max_age, "35 Years") at test-drks_de_version_max_age.R:9:8
     2. └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. └─rlang::eval_bare(expr, quo_get_env(quo))
     ── Error ('test-drks_de_version_min_age.R:9'): DRKS minimum age downloads correctly ──
     Error in `version$min_age`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. └─testthat::expect_equal(version$min_age, "18 Years") at test-drks_de_version_min_age.R:9:8
     2. └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. └─rlang::eval_bare(expr, quo_get_env(quo))
     ── Error ('test-drks_de_version_primaryoutcomes.R:9'): DRKS primary outcomes download correctly ──
     Error in `version$primaryoutcomes`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. ├─testthat::expect_equal(...) at test-drks_de_version_primaryoutcomes.R:9:8
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─jsonlite::fromJSON(version$primaryoutcomes)
     ── Error ('test-drks_de_version_rstatus.R:9'): DRKS recruitment status downloads correctly ──
     Error in `version$rstatus`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. └─testthat::expect_equal(version$rstatus, "Recruiting complete, follow-up complete") at test-drks_de_version_rstatus.R:9:8
     2. └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. └─rlang::eval_bare(expr, quo_get_env(quo))
     ── Error ('test-drks_de_version_secondaryoutcomes.R:9'): DRKS secondary outcomes download correctly ──
     Error in `version$secondaryoutcomes`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. ├─testthat::expect_equal(...) at test-drks_de_version_secondaryoutcomes.R:9:8
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─jsonlite::fromJSON(version$secondaryoutcomes)
     ── Error ('test-drks_de_version_startdate.R:9'): DRKS start date downloads correctly ──
     Error in `version$startdate`: $ operator is invalid for atomic vectors
     Backtrace:
     ▆
     1. └─testthat::expect_equal(version$startdate, "2013-08-09") at test-drks_de_version_startdate.R:9:8
     2. └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. └─rlang::eval_bare(expr, quo_get_env(quo))
    
     [ FAIL 15 | WARN 1 | SKIP 0 | PASS 20 ]
     Error: Test failures
     Execution halted
Flavor: r-release-windows-x86_64