Running ‘testthat.R’ [44s/167s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(rdracor)
  > 
  > test_check("rdracor")
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 36 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-core.R:21:3'): dracor_sparql() returns xml_document by default ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [dracor.org] Failed to connect to dracor.org port 443 after 10000 ms: Timeout was reached
  Backtrace:
       ▆
    1. ├─testthat::expect_s3_class(...) at test-core.R:21:2
    2. │ └─testthat::quasi_label(enquo(object), arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─rdracor::dracor_sparql("SELECT * WHERE {?s ?p ?o} LIMIT 10")
    5.   └─rdracor::dracor_api(...)
    6.     └─httr::GET(request, httr::accept(expected_type))
    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-core.R:28:3'): dracor_sparql() returns character with parse = FALSE ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [dracor.org] Failed to connect to dracor.org port 443 after 10001 ms: Timeout was reached
  Backtrace:
       ▆
    1. ├─testthat::expect_type(...) at test-core.R:28:2
    2. │ └─testthat::quasi_label(enquo(object), arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─rdracor::dracor_sparql(...)
    5.   └─rdracor::dracor_api(...)
    6.     └─httr::GET(request, httr::accept(expected_type))
    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-core.R:37:3'): API info is 1 x 4 ───────────────────────────────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [dracor.org] Failed to connect to dracor.org port 443 after 10001 ms: Timeout was reached
  Backtrace:
       ▆
    1. ├─testthat::expect_equal(dim(dracor_api_info()), c(1, 4)) at test-core.R:37:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─rdracor::dracor_api_info()
    5.   ├─tibble::as_tibble(dracor_api("https://dracor.org/api/info", expected_type = "application/json"))
    6.   └─rdracor::dracor_api("https://dracor.org/api/info", expected_type = "application/json")
    7.     └─httr::GET(request, httr::accept(expected_type))
    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-core.R:41:3'): dracor_sparql() returns xml_document ────────────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [dracor.org] Failed to connect to dracor.org port 443 after 10001 ms: Timeout was reached
  Backtrace:
       ▆
    1. ├─testthat::expect_s3_class(...) at test-core.R:41:2
    2. │ └─testthat::quasi_label(enquo(object), arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─rdracor::dracor_sparql("SELECT * WHERE {?s ?p ?o} LIMIT 10")
    5.   └─rdracor::dracor_api(...)
    6.     └─httr::GET(request, httr::accept(expected_type))
    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 4 | WARN 0 | SKIP 0 | PASS 36 ]
  Error: Test failures
  Execution halted