Running ‘testthat.R’ [3s/26s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(rbiorxiv)
  > 
  > test_check("rbiorxiv")
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-biorxiv_published.R:4:3): biorxiv_published returns ─────────────
  Error: 500: Internal server error
  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.     └─rbiorxiv:::handle_response(request = request)
  ── Error (test-biorxiv_publisher.R:4:3): biorxiv_publisher returns ─────────────
  Error: 500: Internal server error
  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.     └─rbiorxiv:::handle_response(request = request)
  ── Error (test-biorxiv_summary.R:4:3): biorxiv_summary returns ─────────────────
  Error: 500: Internal server error
  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.     └─rbiorxiv:::handle_response(request = request)
  ── Error (test-biorxiv_usage.R:4:3): biorxiv_usage returns ─────────────────────
  Error: 500: Internal server error
  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.     └─rbiorxiv:::handle_response(request = request)
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 70 ]
  Error: Test failures
  Execution halted