Running ‘testthat.R’ [2s/54s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(gsheet)
  > 
  > test_check("gsheet")
  [ FAIL 5 | WARN 0 | SKIP 0 | PASS 0 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-gsheet2tbl.R:5:3'): Correct result on mtcars sheet ─────────────
  Error in `open.connection(structure(4L, class = c("curl", "connection"), conn_id = <pointer: 0x12b>), 
      "rb")`: Timeout was reached: [docs.google.com] Failed to connect to docs.google.com port 443 after 10002 ms: Timeout was reached
  Backtrace:
       ▆
    1. ├─base::suppressWarnings(a <- gsheet2tbl("docs.google.com/spreadsheets/d/1I9mJsS5QnXF2TNNntTy-HrcdHmIF9wJ8ONYvEJTXSNo")) at test-gsheet2tbl.R:5:3
    2. │ └─base::withCallingHandlers(...)
    3. ├─gsheet::gsheet2tbl("docs.google.com/spreadsheets/d/1I9mJsS5QnXF2TNNntTy-HrcdHmIF9wJ8ONYvEJTXSNo")
    4. │ ├─base::suppressMessages(...)
    5. │ │ └─base::withCallingHandlers(...)
    6. │ └─readr::read_csv(...)
    7. │   └─vroom::vroom(...)
    8. │     └─vroom:::vroom_(...)
    9. ├─base (local) `<fn>`(`<curl>`, "rb")
   10. └─base::open.connection(`<curl>`, "rb")
  ── Error ('test-gsheet2tbl.R:10:3'): Works correctly with and with url containing sheetid = 850032961 ──
  Error in `open.connection(structure(5L, class = c("curl", "connection"), conn_id = <pointer: 0x138>), 
      "rb")`: Timeout was reached: [docs.google.com] Failed to connect to docs.google.com port 443 after 10002 ms: Timeout was reached
  Backtrace:
       ▆
    1. ├─base::suppressWarnings(a <- gsheet2tbl("https://docs.google.com/spreadsheets/d/1I9mJsS5QnXF2TNNntTy-HrcdHmIF9wJ8ONYvEJTXSNo/edit#gid=850032961")) at test-gsheet2tbl.R:10:3
    2. │ └─base::withCallingHandlers(...)
    3. ├─gsheet::gsheet2tbl("https://docs.google.com/spreadsheets/d/1I9mJsS5QnXF2TNNntTy-HrcdHmIF9wJ8ONYvEJTXSNo/edit#gid=850032961")
    4. │ ├─base::suppressMessages(...)
    5. │ │ └─base::withCallingHandlers(...)
    6. │ └─readr::read_csv(...)
    7. │   └─vroom::vroom(...)
    8. │     └─vroom:::vroom_(...)
    9. ├─base (local) `<fn>`(`<curl>`, "rb")
   10. └─base::open.connection(`<curl>`, "rb")
  ── Error ('test-gsheet2tbl.R:15:3'): Correct result on corner cases sheet ──────
  Error in `open.connection(structure(6L, class = c("curl", "connection"), conn_id = <pointer: 0x13f>), 
      "rb")`: Timeout was reached: [docs.google.com] Failed to connect to docs.google.com port 443 after 10002 ms: Timeout was reached
  Backtrace:
      ▆
   1. ├─gsheet::gsheet2tbl("https://docs.google.com/spreadsheets/d/1QNaOSRePfMRpdyR6DQfdO82pAq9RRrlJeK6DP3ZlMCg/edit?usp=sharing") at test-gsheet2tbl.R:15:3
   2. │ ├─base::suppressMessages(...)
   3. │ │ └─base::withCallingHandlers(...)
   4. │ └─readr::read_csv(...)
   5. │   └─vroom::vroom(...)
   6. │     └─vroom:::vroom_(...)
   7. ├─base (local) `<fn>`(`<curl>`, "rb")
   8. └─base::open.connection(`<curl>`, "rb")
  ── Error ('test-gsheet2text.R:5:3'): Works correctly with and without sheet id ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [docs.google.com] Failed to connect to docs.google.com port 443 after 10001 ms: Timeout was reached
  Backtrace:
      ▆
   1. └─gsheet::gsheet2text("docs.google.com/spreadsheets/d/1I9mJsS5QnXF2TNNntTy-HrcdHmIF9wJ8ONYvEJTXSNo") at test-gsheet2text.R:5:3
   2.   └─httr::GET(address)
   3.     └─httr:::request_perform(req, hu$handle$handle)
   4.       ├─httr:::request_fetch(req$output, req$url, handle)
   5.       └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   6.         └─curl::curl_fetch_memory(url, handle = handle)
  ── Failure ('test-gsheet2text.R:11:3'): Throws informative error when share by link is turned off ──
  `{ ... }` threw an error with unexpected message.
  Expected match: "Unable to retrieve document. Is 'share by link' enabled for this sheet?"
  Actual message: "Timeout was reached: [docs.google.com] Failed to connect to docs.google.com port 443 after 10002 ms: Timeout was reached"
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test-gsheet2text.R:11:3
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─gsheet::gsheet2text("https://docs.google.com/spreadsheets/d/1zMvLM_dWvIHeTFi8Sct9QMmrr7Roo2tav2SE4Wt7vBQ/edit") at test-gsheet2text.R:11:17
    7.   └─httr::GET(address)
    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)
  
  [ FAIL 5 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted