Running 'testthat.R' [202s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(rtrek)
  > 
  > test_check("rtrek")
  Total pages to retrieve all results: 66 
  -- 1. Error: memory_alpha returns as expected (@test-memory-alpha.R#11)  -------
  OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054
  1: memory_alpha("alternate") at testthat/test-memory-alpha.R:11
  2: do.call(paste0("ma_portal_", ep[1]), list())
  3: ma_portal_alternate()
  4: ma_portal_df("alternate", nodes, start_node_index, end_node_index, subgroups, slice)
  5: withVisible(`_f`(portal = portal, nodes = nodes, start_node_index = start_node_index, 
         end_node_index = end_node_index, subgroups = subgroups, slice = slice))
  6: `_f`(portal = portal, nodes = nodes, start_node_index = start_node_index, end_node_index = end_node_index, 
         subgroups = subgroups, slice = slice)
  7: ma_base_add(ma_portal_url(portal)) %>% xml2::read_html() %>% rvest::html_nodes(nodes[1])
  8: withVisible(eval(quote(`_fseq`(`_lhs`)), env, env))
  9: eval(quote(`_fseq`(`_lhs`)), env, env)
  10: eval(quote(`_fseq`(`_lhs`)), env, env)
  ...
  13: function_list[[i]](value)
  14: xml2::read_html(.)
  15: read_html.default(.)
  16: suppressWarnings(read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options))
  17: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  18: read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options)
  19: read_xml.character(x, encoding = encoding, ..., as_html = TRUE, options = options)
  20: read_xml.connection(con, encoding = encoding, ..., as_html = as_html, base_url = x, 
         options = options)
  21: open(x, "rb")
  22: open.connection(x, "rb")
  
  -- 2. Error: ma_article returns as expected (@test-memory-alpha.R#66)  ---------
  OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054
  1: memory_alpha("people/Klingons/Azetbur") at testthat/test-memory-alpha.R:66
  2: ma_select(d, ep[-1], "id")
  3: withVisible(`_f`(d = d, ep = ep, .id = .id))
  4: `_f`(d = d, ep = ep, .id = .id)
  5: ma_category_pages(ep[1], url, c(".category-page__members", ".category-page__pagination"))
  6: withVisible(`_f`(id = id, url = url, nodes = nodes, d0 = d0))
  7: `_f`(id = id, url = url, nodes = nodes, d0 = d0)
  8: Recall(id, url[idx[1]], nodes, d)
  9: `_f`(id = id, url = url, nodes = nodes, d0 = d0)
  10: xml2::read_html(ma_base_add(url))
  11: read_html.default(ma_base_add(url))
  12: suppressWarnings(read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options))
  13: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  14: read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options)
  15: read_xml.character(x, encoding = encoding, ..., as_html = TRUE, options = options)
  16: read_xml.connection(con, encoding = encoding, ..., as_html = as_html, base_url = x, 
         options = options)
  17: open(x, "rb")
  18: open.connection(x, "rb")
  
  -- 3. Error: ma_image and related calls all return as expected (@test-memory-alp
  Timeout was reached: Operation timed out after 10005 milliseconds with 0 out of 0 bytes received
  1: memory_alpha(paste0("people/Klingons/Memory Alpha images (Klingons)/", ep)) at testthat/test-memory-alpha.R:85
  2: ma_select(d, ep[-1], "id")
  3: withVisible(`_f`(d = d, ep = ep, .id = .id))
  4: `_f`(d = d, ep = ep, .id = .id)
  5: ma_category_pages(ep[1], url, c(".category-page__members", ".category-page__pagination"))
  6: withVisible(`_f`(id = id, url = url, nodes = nodes, d0 = d0))
  7: `_f`(id = id, url = url, nodes = nodes, d0 = d0)
  8: Recall(id, url[idx[1]], nodes, d)
  9: `_f`(id = id, url = url, nodes = nodes, d0 = d0)
  10: xml2::read_html(ma_base_add(url))
  11: read_html.default(ma_base_add(url))
  12: suppressWarnings(read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options))
  13: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  14: read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options)
  15: read_xml.character(x, encoding = encoding, ..., as_html = TRUE, options = options)
  16: read_xml.connection(con, encoding = encoding, ..., as_html = as_html, base_url = x, 
         options = options)
  17: open(x, "rb")
  18: open.connection(x, "rb")
  
  == testthat results  ===========================================================
  [ OK: 39 | SKIPPED: 9 | WARNINGS: 0 | FAILED: 3 ]
  1. Error: memory_alpha returns as expected (@test-memory-alpha.R#11) 
  2. Error: ma_article returns as expected (@test-memory-alpha.R#66) 
  3. Error: ma_image and related calls all return as expected (@test-memory-alpha.R#85) 
  
  Error: testthat unit tests failed
  In addition: Warning messages:
  1: In .Internal(gc(verbose, reset, full)) :
    closing unused connection 5 (http://memory-alpha.wikia.com/wiki/x)
  2: In .Internal(gc(verbose, reset, full)) :
    closing unused connection 4 (http://memory-alpha.wikia.com/wiki/Portal:Alternate_Reality)
  3: closing unused connection 3 (http://memory-alpha.wikia.com/wiki/Category:Klingons?from=Torin) 
  Execution halted