Running ‘testthat.R’ [2s/4s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(censusxy)
  > 
  > test_check("censusxy")
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  ● On CRAN (6)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_options.R:6:3): Valid Benchmarks are returned ───────────────────
  Error: GnuTLS recv error (-54): Error in the pull function.
  Backtrace:
      █
   1. ├─testthat::expect_s3_class(cxy_benchmarks(), "data.frame") test_options.R:6:2
   2. │ └─testthat::quasi_label(enquo(object), arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─censusxy::cxy_benchmarks()
   5.   └─httr::GET(...)
   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_options.R:15:3): Valid Vintages are returned ────────────────────
  Error: GnuTLS recv error (-54): Error in the pull function.
  Backtrace:
      █
   1. ├─testthat::expect_s3_class(...) test_options.R:15:2
   2. │ └─testthat::quasi_label(enquo(object), arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─censusxy::cxy_vintages("Public_AR_Census2010")
   5.   └─httr::GET(...)
   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)
  ── Failure (test_options.R:30:3): Invalid Vintages Error Correctly ─────────────
  `cxy_vintages("Bad Input")` threw an error with unexpected message.
  Expected match: "Not a Valid Benchmark"
  Actual message: "GnuTLS recv error (-54): Error in the pull function."
  Backtrace:
       █
    1. ├─testthat::expect_error(cxy_vintages("Bad Input"), "Not a Valid Benchmark") test_options.R:30:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─censusxy::cxy_vintages("Bad Input")
    7.   └─httr::GET(...)
    8.     └─httr:::request_perform(req, hu$handle$handle)
    9.       ├─httr:::request_fetch(req$output, req$url, handle)
   10.       └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   11.         └─curl::curl_fetch_memory(url, handle = handle)
  
  [ FAIL 3 | WARN 0 | SKIP 6 | PASS 18 ]
  Error: Test failures
  Execution halted