Running ‘testthat.R’ [5s/17s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(washex)
  > 
  > test_check("washex")
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 38 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-getAffectedRCW.R:2:3): function works for each input type ───────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: gnutls_handshake() failed: Error in the pull function.
  Backtrace:
      ▆
   1. └─washex::getAffectedRCW("2007-08", "HB 1001", type = "df") at test-getAffectedRCW.R:2:2
   2.   └─washex:::fetch(path)
   3.     └─httr::GET(path)
   4.       └─httr:::request_perform(req, hu$handle$handle)
   5.         ├─httr:::request_fetch(req$output, req$url, handle)
   6.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   7.           └─curl::curl_fetch_memory(url, handle = handle)
  ── Error (test-getAffectedRCW.R:14:3): function handles vector inputs ──────────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: gnutls_handshake() failed: Error in the pull function.
  Backtrace:
      ▆
   1. └─washex::getAffectedRCW("2007-08", bills, type = "df") at test-getAffectedRCW.R:14:2
   2.   └─washex:::fetch(path)
   3.     └─httr::GET(path)
   4.       └─httr:::request_perform(req, hu$handle$handle)
   5.         ├─httr:::request_fetch(req$output, req$url, handle)
   6.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   7.           └─curl::curl_fetch_memory(url, handle = handle)
  ── Error (test-getAmendments.R:2:3): function works for each input type ────────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: gnutls_handshake() failed: Error in the pull function.
  Backtrace:
      ▆
   1. └─washex::getAmendments("2007-08", "1001", type = "df") at test-getAmendments.R:2:2
   2.   └─washex:::fetch(path)
   3.     └─httr::GET(path)
   4.       └─httr:::request_perform(req, hu$handle$handle)
   5.         ├─httr:::request_fetch(req$output, req$url, handle)
   6.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   7.           └─curl::curl_fetch_memory(url, handle = handle)
  
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 38 ]
  Error: Test failures
  Execution halted