Running 'testthat.R' [108s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > # This file is part of the standard devtools workflow.
  > # See `?devtools::test()` for more information.
  > 
  > library(testthat)
  > library(shiny)
  > library(shinyOAuth)
  > 
  > test_check("shinyOAuth")
  [ FAIL 1 | WARN 0 | SKIP 83 | PASS 1997 ]
  
  ══ Skipped tests (83) ══════════════════════════════════════════════════════════
  • On CRAN (83): 'test-async-serialization.R:105:3',
    'test-async-serialization.R:172:3', 'test-audit-async-options.R:2:3',
    'test-audit-async-options.R:201:3', 'test-audit-async-options.R:260:3',
    'test-audit-async-options.R:345:3', 'test-audit-async-options.R:405:3',
    'test-audit-async-options.R:480:3', 'test-audit-async-options.R:544:3',
    'test-audit-async-options.R:629:3', 'test-audit-async-session-context.R:2:3',
    'test-constant-time-compare.R:53:3', 'test-discovery-auth-methods.R:3:3',
    'test-discovery-auth-methods.R:31:3', 'test-discovery-auth-methods.R:55:3',
    'test-discovery-auth-methods.R:86:3', 'test-discovery-auth-methods.R:120:3',
    'test-discovery-auth-methods.R:153:3', 'test-discovery-auth-methods.R:181:3',
    'test-discovery-hardened.R:3:3', 'test-discovery-hardened.R:72:3',
    'test-discovery-hardened.R:100:3', 'test-discovery-hardened.R:126:3',
    'test-discovery-hardened.R:142:3', 'test-discovery-hardened.R:166:3',
    'test-discovery-hardened.R:192:3', 'test-discovery-hardened.R:216:3',
    'test-discovery-hardened.R:239:3', 'test-introspect-token.R:117:3',
    'test-jwks-cache-host-policy.R:119:3',
    'test-jwks-malformed-and-pinning.R:3:3',
    'test-jwks-malformed-and-pinning.R:96:3', 'test-mirai-utils.R:10:3',
    'test-mirai-utils.R:20:3', 'test-mirai-utils.R:29:3',
    'test-mirai-utils.R:44:3', 'test-mirai-utils.R:56:3',
    'test-mirai-utils.R:69:3', 'test-mirai-utils.R:174:3',
    'test-mirai-utils.R:191:3', 'test-mirai-utils.R:207:3',
    'test-mirai-utils.R:228:3', 'test-mirai-utils.R:246:3',
    'test-mirai-utils.R:256:3', 'test-mirai-utils.R:281:3',
    'test-module-server-async.R:2:3', 'test-module-server-async.R:65:3',
    'test-module-server-async.R:180:3', 'test-module-server-async.R:243:3',
    'test-module-server-async.R:268:3', 'test-module-server-async.R:302:3',
    'test-module-server.R:191:3', 'test-module-server.R:241:3',
    'test-redirect-following-disabled.R:50:3',
    'test-redirect-following-disabled.R:126:3',
    'test-redirect-following-disabled.R:195:3',
    'test-redirect-following-disabled.R:249:3',
    'test-redirect-following-disabled.R:312:3',
    'test-redirect-following-disabled.R:377:3',
    'test-redirect-following-disabled.R:414:3',
    'test-redirect-following-disabled.R:479:3', 'test-refresh-races.R:2:3',
    'test-refresh-races.R:109:3', 'test-revoke-on-session-end.R:63:3',
    'test-revoke-token.R:80:3', 'test-state-fail-delay.R:3:3',
    'test-state-store-concurrent-replay.R:54:3',
    'test-state-store-concurrent-replay.R:117:3',
    'test-state-store-concurrent-replay.R:172:3',
    'test-state-store-concurrent-replay.R:206:3',
    'test-state-store-concurrent-replay.R:243:3',
    'test-state-store-concurrent-replay.R:309:3',
    'test-state-store-concurrent-replay.R:356:3',
    'test-state-store-concurrent-replay.R:404:3',
    'test-utils-http-helpers.R:200:3', 'test-utils-http-helpers.R:242:3',
    'test-utils-http-helpers.R:279:3', 'test-utils-http-helpers.R:323:3',
    'test_chromote_cookie.R:106:3', 'test_chromote_cookie.R:149:3',
    'test_chromote_cookie.R:183:3', 'test_state_store_single_use.R:2:3',
    'test_state_store_single_use.R:38:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-issued-at-boundary.R:21:3'): issued_at boundary behavior around max_age ──
  <shinyOAuth_state_error/shinyOAuth_error/rlang_error/error/condition>
  Error in `err_abort(msg, class = "shinyOAuth_state_error", context = context)`: [shinyOAuth] - Invalid OAuth state
  ! Invalid payload: issued_at is too old
  i Trace ID: neHcM3KezzHN
  Backtrace:
       ▆
    1. ├─testthat::expect_silent(...) at test-issued-at-boundary.R:21:3
    2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ ├─withr::with_output_sink(...)
    5. │   │ │ └─base::force(code)
    6. │   │ ├─base::withCallingHandlers(...)
    7. │   │ └─base::withVisible(code)
    8. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. └─shinyOAuth:::payload_verify_issued_at(cli, just_under)
   10.   └─shinyOAuth:::err_invalid_state("Invalid payload: issued_at is too old")
   11.     └─shinyOAuth:::err_abort(msg, class = "shinyOAuth_state_error", context = context)
   12.       └─rlang::abort(...)
  
  [ FAIL 1 | WARN 0 | SKIP 83 | PASS 1997 ]
  Error:
  ! Test failures.
  Execution halted