Running 'testthat.R' [352s]
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