Running 'testthat.R' [14s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(clockify)
  > 
  > test_check("clockify")
  [ FAIL 1 | WARN 0 | SKIP 56 | PASS 2 ]
  
  ══ Skipped tests (56) ══════════════════════════════════════════════════════════
  • On CRAN (56): 'test-api-key.R:9:3', 'test-api-key.R:19:3',
    'test-api-key.R:44:3', 'test-workspace.R:4:3', 'test-workspace.R:12:3',
    'test-workspace.R:23:3', 'test-workspace.R:31:3', 'test-client.R:5:3',
    'test-client.R:15:3', 'test-client.R:24:3', 'test-client.R:36:3',
    'test-client.R:45:3', 'test-project.R:8:3', 'test-project.R:18:3',
    'test-project.R:27:3', 'test-project.R:37:3', 'test-project.R:49:3',
    'test-project.R:67:3', 'test-project.R:81:3', 'test-project.R:106:3',
    'test-project.R:115:3', 'test-tags.R:2:3', 'test-tags.R:11:3',
    'test-tags.R:24:3', 'test-tags.R:33:3', 'test-tags.R:43:3',
    'test-tasks.R:4:3', 'test-tasks.R:14:3', 'test-tasks.R:25:3',
    'test-tasks.R:34:3', 'test-tasks.R:43:3', 'test-tasks.R:59:3',
    'test-time-entry.R:8:3', 'test-time-entry.R:18:3', 'test-time-entry.R:35:3',
    'test-time-entry.R:48:3', 'test-time-entry.R:62:3', 'test-time-entry.R:72:3',
    'test-time-entry.R:87:3', 'test-time-entry.R:107:3', 'test-user-group.R:4:3',
    'test-user-group.R:14:3', 'test-user-group.R:26:3', 'test-user-group.R:36:3',
    'test-user-group.R:46:3', 'test-user-group.R:54:3', 'test-user-group.R:62:3',
    'test-user.R:8:3', 'test-user.R:16:3', 'test-user.R:24:3',
    'test-user.R:31:3', 'test-user.R:39:3', 'test-user.R:51:3',
    'test-user.R:68:3', 'test-user.R:93:3', 'test-user.R:105:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-api-key.R:4:3'): error on empty api key ────────────────────────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [api.clockify.me] Resolving timed out after 10005 milliseconds
  Backtrace:
       ▆
    1. ├─testthat::expect_error(set_api_key(""), regexp = "\\(401\\) Unauthorized") at test-api-key.R:4:2
    2. │ └─testthat:::expect_condition_matching(...)
    3. │   └─testthat:::quasi_capture(...)
    4. │     ├─testthat (local) .capture(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    7. └─clockify::set_api_key("")
    8.   └─clockify::user(concise = FALSE)
    9.     └─clockify:::GET("/user")
   10.       └─httr::GET(...)
   11.         └─httr:::request_perform(req, hu$handle$handle)
   12.           ├─httr:::request_fetch(req$output, req$url, handle)
   13.           └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   14.             └─curl::curl_fetch_memory(url, handle = handle)
  
  [ FAIL 1 | WARN 0 | SKIP 56 | PASS 2 ]
  Error: Test failures
  Execution halted