Running 'testthat.R' [27s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(pageviews)
  > 
  > test_check("pageviews")
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 55 ]
  
  == Failed tests ================================================================
  -- Error (test.R:4:3): basic project pageview queries work ---------------------
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [wikimedia.org] Connection timed out after 10002 milliseconds
  Backtrace:
       x
    1. \-pageviews::project_pageviews() at test.R:4:2
    2.   \-pageviews:::pageviews(...)
    3.     \-pageviews:::pv_query(parameters, reformat, ...)
    4.       \-base::lapply(...)
    5.         \-pageviews FUN(X[[i]], ...)
    6.           \-httr::GET(url, httr::user_agent("pageviews API client library - https://github.com  /Ironholds/pageviews"))
    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.R:18:3): Basic top-article queries work -------------------------
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [wikimedia.org] Connection timed out after 10001 milliseconds
  Backtrace:
      x
   1. \-pageviews::top_articles() at test.R:18:2
   2.   \-pageviews:::pv_query(parameters, reformat, ...)
   3.     \-base::lapply(...)
   4.       \-pageviews FUN(X[[i]], ...)
   5.         \-httr::GET(url, httr::user_agent("pageviews API client library - https://github.com  /Ironholds/pageviews"))
   6.           \-httr:::request_perform(req, hu$handle$handle)
   7.             +-httr:::request_fetch(req$output, req$url, handle)
   8.             \-httr:::request_fetch.write_memory(req$output, req$url, handle)
   9.               \-curl::curl_fetch_memory(url, handle = handle)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 55 ]
  Error: Test failures
  Execution halted