Running ‘testthat.R’ [2s/5s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(proverbs)
  > 
  > test_check("proverbs")
  That translation is not available!
   ⚠ Use the translations() function to see a list of available translations. 
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 6 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-proverb.R:4:3): bbe works ───────────────────────────────────────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: gnutls_handshake() failed: The TLS connection was non-properly terminated.
  Backtrace:
       ▆
    1. ├─testthat::expect_output(proverb("bbe")) at test-proverb.R:4:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─testthat::capture_output_lines(code, print, width = width)
    5. │   │   └─testthat:::eval_with_output(code, print = print, width = width)
    6. │   │     ├─withr::with_output_sink(path, withVisible(code))
    7. │   │     │ └─base::force(code)
    8. │   │     └─base::withVisible(code)
    9. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   10. └─proverbs::proverb("bbe")
   11.   └─httr::GET(url = URL)
   12.     └─httr:::request_perform(req, hu$handle$handle)
   13.       ├─httr:::request_fetch(req$output, req$url, handle)
   14.       └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   15.         └─curl::curl_fetch_memory(url, handle = handle)
  ── Error (test-proverb.R:10:3): kjv works ──────────────────────────────────────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: gnutls_handshake() failed: Error in the pull function.
  Backtrace:
       ▆
    1. ├─testthat::expect_output(proverb("kjv")) at test-proverb.R:10:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─testthat::capture_output_lines(code, print, width = width)
    5. │   │   └─testthat:::eval_with_output(code, print = print, width = width)
    6. │   │     ├─withr::with_output_sink(path, withVisible(code))
    7. │   │     │ └─base::force(code)
    8. │   │     └─base::withVisible(code)
    9. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   10. └─proverbs::proverb("kjv")
   11.   └─httr::GET(url = URL)
   12.     └─httr:::request_perform(req, hu$handle$handle)
   13.       ├─httr:::request_fetch(req$output, req$url, handle)
   14.       └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   15.         └─curl::curl_fetch_memory(url, handle = handle)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 6 ]
  Error: Test failures
  Execution halted