Running 'testthat.R' [42s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(pageviews)
  > 
  > test_check("pageviews")
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 41 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test.R:4:3'): basic project pageview queries work ───────────────────
  <curl_error_operation_timedout/curl_error/error/condition>
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached [wikimedia.org]: SSL/TLS connection timeout
  Backtrace:
       ▆
    1. ├─pageviews::project_pageviews() at test.R:4:3
    2. │ └─pageviews:::pageviews(...)
    3. │   └─pageviews:::pv_query(parameters, reformat, ...)
    4. │     └─base::lapply(...)
    5. │       └─pageviews (local) 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)
   11. └─curl:::raise_libcurl_error(...)
  ── Error ('test.R:18:3'): Basic top-article queries work ───────────────────────
  <curl_error_operation_timedout/curl_error/error/condition>
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached [wikimedia.org]: SSL/TLS connection timeout
  Backtrace:
       ▆
    1. ├─pageviews::top_articles() at test.R:18:3
    2. │ └─pageviews:::pv_query(parameters, reformat, ...)
    3. │   └─base::lapply(...)
    4. │     └─pageviews (local) 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)
   10. └─curl:::raise_libcurl_error(...)
  ── Error ('test.R:32:3'): Basic per-article queries work ───────────────────────
  <curl_error_operation_timedout/curl_error/error/condition>
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached [wikimedia.org]: SSL/TLS connection timeout
  Backtrace:
       ▆
    1. ├─pageviews::article_pageviews() at test.R:32:3
    2. │ └─pageviews:::pageviews(...)
    3. │   └─pageviews:::pv_query(parameters, reformat, ...)
    4. │     └─base::lapply(...)
    5. │       └─pageviews (local) 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)
   11. └─curl:::raise_libcurl_error(...)
  
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 41 ]
  Error: Test failures
  Execution halted