Running ‘testthat.R’ [1s/5s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(rbiorxiv)
  > 
  > test_check("rbiorxiv")
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-biorxiv_content.R:4:3): biorxiv_content returns ─────────────────
  Error: Failed to connect to api.biorxiv.org port 443: Connection refused
  Backtrace:
       █
    1. ├─testthat::expect_is(...) test-biorxiv_content.R:4:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─rbiorxiv::biorxiv_content(doi = "10.1101/673665")
    5.   └─rbiorxiv:::query_doi(server = server, doi = doi)
    6.     └─rbiorxiv:::fetch_content(url = url)
    7.       └─httr::GET(url = url)
    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)
  ── Error (test-biorxiv_published.R:4:3): biorxiv_published returns ─────────────
  Error: Failed to connect to api.biorxiv.org port 443: Connection refused
  Backtrace:
       █
    1. ├─testthat::expect_is(...) test-biorxiv_published.R:4:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─rbiorxiv::biorxiv_published(from = "2014-01-01", to = "2014-01-30")
    5.   └─rbiorxiv:::fetch_content(url = url)
    6.     └─httr::GET(url = url)
    7.       └─httr:::request_perform(req, hu$handle$handle)
    8.         ├─httr:::request_fetch(req$output, req$url, handle)
    9.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   10.           └─curl::curl_fetch_memory(url, handle = handle)
  ── Error (test-biorxiv_publisher.R:4:3): biorxiv_publisher returns ─────────────
  Error: Failed to connect to api.biorxiv.org port 443: Connection refused
  Backtrace:
       █
    1. ├─testthat::expect_is(...) test-biorxiv_publisher.R:4:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─rbiorxiv::biorxiv_publisher(...)
    5.   └─rbiorxiv:::fetch_content(url = url)
    6.     └─httr::GET(url = url)
    7.       └─httr:::request_perform(req, hu$handle$handle)
    8.         ├─httr:::request_fetch(req$output, req$url, handle)
    9.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   10.           └─curl::curl_fetch_memory(url, handle = handle)
  ── Error (test-biorxiv_summary.R:4:3): biorxiv_summary returns ─────────────────
  Error: Failed to connect to api.biorxiv.org port 443: Connection refused
  Backtrace:
       █
    1. ├─testthat::expect_is(biorxiv_summary(), "list") test-biorxiv_summary.R:4:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─rbiorxiv::biorxiv_summary()
    5.   └─rbiorxiv:::fetch_content(url = url)
    6.     └─httr::GET(url = url)
    7.       └─httr:::request_perform(req, hu$handle$handle)
    8.         ├─httr:::request_fetch(req$output, req$url, handle)
    9.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   10.           └─curl::curl_fetch_memory(url, handle = handle)
  ── Error (test-biorxiv_usage.R:4:3): biorxiv_usage returns ─────────────────────
  Error: Failed to connect to api.biorxiv.org port 443: Connection refused
  Backtrace:
       █
    1. ├─testthat::expect_is(biorxiv_usage(), "list") test-biorxiv_usage.R:4:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─rbiorxiv::biorxiv_usage()
    5.   └─rbiorxiv:::fetch_content(url = url)
    6.     └─httr::GET(url = url)
    7.       └─httr:::request_perform(req, hu$handle$handle)
    8.         ├─httr:::request_fetch(req$output, req$url, handle)
    9.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   10.           └─curl::curl_fetch_memory(url, handle = handle)
  
  [ FAIL 5 | WARN 0 | SKIP 0 | PASS 46 ]
  Error: Test failures
  Execution halted