Running 'testthat.R' [14s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(cthist)
  > 
  > test_check("cthist")
  Error downloading NCT ID: NCT00942747
  Here's the original error message:
  Error in curl::curl_fetch_memory(url, handle = handle): Timeout was reached: [clinicaltrials.gov] Resolving timed out after 10009 milliseconds
   
  
  Error downloading version: NCT00942747 version 1
  Here's the original error message:
  Error in curl::curl_fetch_memory(url, handle = handle): Could not resolve host: clinicaltrials.gov
   
  
  Error downloading version: NCT02110043 version 1
  Here's the original error message:
  Error in curl::curl_fetch_memory(url, handle = handle): Could not resolve host: clinicaltrials.gov
   
  
  Error downloading version: NCT02110043 version 1
  Here's the original error message:
  Error in curl::curl_fetch_memory(url, handle = handle): Could not resolve host: clinicaltrials.gov
   
  
  Error downloading version: NCT02110043 version 1
  Here's the original error message:
  Error in curl::curl_fetch_memory(url, handle = handle): Could not resolve host: clinicaltrials.gov
   
  
  Error downloading version: NCT02110043 version 1
  Here's the original error message:
  Error in curl::curl_fetch_memory(url, handle = handle): Could not resolve host: clinicaltrials.gov
   
  
  Error downloading version: NCT02110043 version 1
  Here's the original error message:
  Error in curl::curl_fetch_memory(url, handle = handle): Could not resolve host: clinicaltrials.gov
   
  
  Error downloading version: NCT02110043 version 1
  Here's the original error message:
  Error in curl::curl_fetch_memory(url, handle = handle): Could not resolve host: clinicaltrials.gov
   
  
  Error downloading version: NCT02110043 version 1
  Here's the original error message:
  Error in curl::curl_fetch_memory(url, handle = handle): Could not resolve host: clinicaltrials.gov
   
  
  Error downloading version: NCT02110043 version 1
  Here's the original error message:
  Error in curl::curl_fetch_memory(url, handle = handle): Could not resolve host: clinicaltrials.gov
   
  
  Error downloading version: NCT02110043 version 1
  Here's the original error message:
  Error in curl::curl_fetch_memory(url, handle = handle): Could not resolve host: clinicaltrials.gov
   
  
  Error downloading version: NCT02110043 version 1
  Here's the original error message:
  Error in curl::curl_fetch_memory(url, handle = handle): Could not resolve host: clinicaltrials.gov
   
  
  Error downloading version: NCT02110043 version 1
  Here's the original error message:
  Error in curl::curl_fetch_memory(url, handle = handle): Could not resolve host: clinicaltrials.gov
   
  
  Error downloading version: NCT02110043 version 1
  Here's the original error message:
  Error in curl::curl_fetch_memory(url, handle = handle): Could not resolve host: clinicaltrials.gov
   
  
  Error downloading version: NCT02110043 version 1
  Here's the original error message:
  Error in curl::curl_fetch_memory(url, handle = handle): Could not resolve host: clinicaltrials.gov
   
  
  Error downloading version: NCT02110043 version 1
  Here's the original error message:
  Error in curl::curl_fetch_memory(url, handle = handle): Could not resolve host: clinicaltrials.gov
   
  
  Error downloading version: NCT04315480 version 2
  Here's the original error message:
  Error in curl::curl_fetch_memory(url, handle = handle): Could not resolve host: clinicaltrials.gov
   
  
  Error downloading version: NCT02110043 version 1
  Here's the original error message:
  Error in curl::curl_fetch_memory(url, handle = handle): Could not resolve host: clinicaltrials.gov
   
  
  Error downloading version: NCT05168917 version 1
  Here's the original error message:
  Error in curl::curl_fetch_memory(url, handle = handle): Could not resolve host: clinicaltrials.gov
   
  
  Error downloading version: NCT05168917 version 3
  Here's the original error message:
  Error in curl::curl_fetch_memory(url, handle = handle): Could not resolve host: clinicaltrials.gov
   
  
  Error downloading version: NCT00942747 version 1
  Here's the original error message:
  Error in curl::curl_fetch_memory(url, handle = handle): Could not resolve host: clinicaltrials.gov
   
  
  Error downloading version: NCT02110043 version 1
  Here's the original error message:
  Error in curl::curl_fetch_memory(url, handle = handle): Could not resolve host: clinicaltrials.gov
   
  
  Error downloading version: NCT02110043 version 1
  Here's the original error message:
  Error in curl::curl_fetch_memory(url, handle = handle): Could not resolve host: clinicaltrials.gov
   
  
  Error downloading version: NCT02110043 version 1
  Here's the original error message:
  Error in curl::curl_fetch_memory(url, handle = handle): Could not resolve host: clinicaltrials.gov
   
  
  Error downloading version: NCT02110043 version 1
  Here's the original error message:
  Error in curl::curl_fetch_memory(url, handle = handle): Could not resolve host: clinicaltrials.gov
   
  
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 22 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-clinicaltrials_gov_dates.R:3:5'): ClinicalTrials.gov version dates download correctly ──
  Error in `result$date`: $ operator is invalid for atomic vectors
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(...) at test-clinicaltrials_gov_dates.R:3:4
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─"2013-04-15" %in% result$date
  ── Error ('test-clinicaltrials_gov_download.R:6:5'): ClinicalTrials.gov history entries mass-download correctly ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Could not resolve host: clinicaltrials.gov
  Backtrace:
      ▆
   1. └─cthist::clinicaltrials_gov_download(...) at test-clinicaltrials_gov_download.R:6:4
   2.   ├─httr::http_error("https://clinicaltrials.gov")
   3.   └─httr:::http_error.character("https://clinicaltrials.gov")
   4.     ├─httr::http_error(HEAD(x, ...))
   5.     └─httr::HEAD(x, ...)
   6.       └─httr:::request_perform(req, hu$handle$handle)
   7.         ├─httr:::request_fetch(req$output, req$url, handle)
   8.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   9.           └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-clinicaltrials_gov_version_results_posted.R:10:9'): ClinicalTrials.gov results posted downloads correctly ──
  Error in `version_false$results_posted`: $ operator is invalid for atomic vectors
  Backtrace:
      ▆
   1. └─testthat::expect_equal(...) at test-clinicaltrials_gov_version_results_posted.R:10:8
   2.   └─testthat::quasi_label(enquo(object), label, arg = "object")
   3.     └─rlang::eval_bare(expr, quo_get_env(quo))
  
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 22 ]
  Error: Test failures
  Execution halted