Running ‘testthat.R’ [1m/14m]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(petro.One)
  > 
  > test_check("petro.One")
  1. Error: all queries match expected values (@test_GTE_paper_count.R#132) ------
  Timeout was reached: Resolving timed out after 10000 milliseconds
  1: get_papers_count(my_url) at testthat/test_GTE_paper_count.R:132
  2: xml2::read_html(url)
  3: read_html.default(url)
  4: suppressWarnings(read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options))
  5: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  6: read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options)
  7: read_xml.character(x, encoding = encoding, ..., as_html = TRUE, options = options)
  8: read_xml.connection(con, encoding = encoding, ..., as_html = as_html, base_url = x, 
         options = options)
  9: open(x, "rb")
  10: open.connection(x, "rb")
  
  2. Error: search returns 1 papers (@test_paper_by_type.R#60) -------------------
  Timeout was reached: Resolving timed out after 10000 milliseconds
  1: xml2::read_html(my_url) at testthat/test_paper_by_type.R:60
  2: read_html.default(my_url)
  3: suppressWarnings(read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options))
  4: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  5: read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options)
  6: read_xml.character(x, encoding = encoding, ..., as_html = TRUE, options = options)
  7: read_xml.connection(con, encoding = encoding, ..., as_html = as_html, base_url = x, 
         options = options)
  8: open(x, "rb")
  9: open.connection(x, "rb")
  
  testthat results ================================================================
  OK: 78 SKIPPED: 0 FAILED: 2
  1. Error: all queries match expected values (@test_GTE_paper_count.R#132) 
  2. Error: search returns 1 papers (@test_paper_by_type.R#60) 
  
  Error: testthat unit tests failed
  In addition: Warning messages:
  1: closing unused connection 3 (https://www.onepetro.org/search?q="mechanistic+performance"&peer_reviewed=&published_between=&from_year=&to_year=) 
  2: closing unused connection 3 (https://www.onepetro.org/search?q="VLP+neural"&peer_reviewed=&published_between=&from_year=&to_year=) 
  Execution halted