Running ‘testthat.R’ [70s/238s]
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")
  GET /base HTTP/1.1
  accept: application/json
  authorization: Bearer tok
  user-agent: shinyOAuth/0.1.4 R/4.6.0 httr2/1.2.2
  x-test: 1
  
  GET /base HTTP/1.1
  accept: */*
  authorization: Bearer tok
  user-agent: shinyOAuth/0.1.4 R/4.6.0 httr2/1.2.2
  
  POST /base HTTP/1.1
  accept: */*
  authorization: Bearer tok
  user-agent: shinyOAuth/0.1.4 R/4.6.0 httr2/1.2.2
  x-test: 1
  
  <0 bytes>
  GET /base HTTP/1.1
  accept: */*
  authorization: Bearer tok
  user-agent: shinyOAuth/0.1.4 R/4.6.0 httr2/1.2.2
  x-other: ok
  
  Saving _problems/test-discovery-auth-methods-97.R
  webfakes process dead, exit code: -9
  Saving _problems/test-discovery-hardened-62.R
  webfakes process dead, exit code: -9
  
  trace=-eflGhhBXZPv class=shinyOAuth_pkce_error, shinyOAuth_error, rlang_error, error, condition
    [shinyOAuth] - PKCE validation failed
  ! x
  i Trace ID: -eflGhhBXZPv
  Saving _problems/test-jwt-malformed-and-claims-112.R
  [ FAIL 3 | WARN 0 | SKIP 12 | PASS 703 ]
  
  ══ Skipped tests (12) ══════════════════════════════════════════════════════════
  • On CRAN (12): 'test-constant-time-compare.R:53:3',
    'test-introspect-token.R:110:3', 'test-module-server-async.R:2:3',
    'test-module-server-async.R:70:3', 'test-module-server-async.R:133:3',
    'test-refresh-races.R:2:3', 'test-state-fail-delay.R:3:3',
    'test_chromote_cookie.R:98:3', 'test_chromote_cookie.R:137:3',
    'test_chromote_cookie.R:165:3', 'test_state_store_single_use.R:2:3',
    'test_state_store_single_use.R:38:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-discovery-auth-methods.R:97:3'): JWT-only advertisement requires explicit token_auth_style ──
  Error in `self$start()`: webfakes app subprocess did not start :(
  Backtrace:
      ▆
   1. └─srv$url() at test-discovery-auth-methods.R:97:3
   2.   └─self$start()
  ── Error ('test-discovery-hardened.R:62:3'): discovery enforces absolute endpoints and host pinning; allows loopback HTTP via is_ok_host ──
  Error in `self$start()`: webfakes app subprocess did not start :(
  Backtrace:
      ▆
   1. └─srv3$url() at test-discovery-hardened.R:62:3
   2.   └─self$start()
  ── Failure ('test-jwt-malformed-and-claims.R:108:5'): exp/iat/nbf boundary conditions respect leeway ──
  Expected `shinyOAuth:::validate_id_token(client, jwt4)` to throw a error with class <shinyOAuth_id_token_error>.
  Backtrace:
      ▆
   1. ├─withr::with_options(...) at test-jwt-malformed-and-claims.R:107:3
   2. │ └─base::force(code)
   3. └─testthat::expect_error(...) at test-jwt-malformed-and-claims.R:108:5
  
  [ FAIL 3 | WARN 0 | SKIP 12 | PASS 703 ]
  Error:
  ! Test failures.
  Execution halted