* using log directory 'd:/RCompile/CRANincoming/R-devel/shinyOAuth.Rcheck' * using R Under development (unstable) (2026-01-10 r89298 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'shinyOAuth/DESCRIPTION' ... OK * this is package 'shinyOAuth' version '0.2.0' * package encoding: UTF-8 * checking CRAN incoming feasibility ... OK * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'shinyOAuth' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking whether startup messages can be suppressed ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [11s] OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [49s] ERROR Running 'testthat.R' [48s] 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.2.0 R/4.6.0 httr2/1.2.2 x-test: 1 GET /base HTTP/1.1 accept: */* authorization: Bearer tok user-agent: shinyOAuth/0.2.0 R/4.6.0 httr2/1.2.2 POST /base HTTP/1.1 accept: */* authorization: Bearer tok user-agent: shinyOAuth/0.2.0 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.2.0 R/4.6.0 httr2/1.2.2 x-other: ok trace=j4ODcc2tcVHe class=shinyOAuth_pkce_error, shinyOAuth_error, rlang_error, error, condition [shinyOAuth] - PKCE validation failed ! x i Trace ID: j4ODcc2tcVHe Saving _problems/test-module-server-720.R [ FAIL 1 | WARN 0 | SKIP 19 | PASS 1256 ] ══ Skipped tests (19) ══════════════════════════════════════════════════════════ • On CRAN (19): 'test-audit-async-options.R:2:3', 'test-audit-async-options.R:200:3', 'test-audit-async-options.R:280:3', 'test-audit-async-session-context.R:2:3', 'test-constant-time-compare.R:53:3', 'test-introspect-token.R:117: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-refresh-races.R:110:3', 'test-revoke-on-session-end.R:63:3', 'test-revoke-token.R:80:3', 'test-state-fail-delay.R:3: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 ════════════════════════════════════════════════════════════════ ── Failure ('test-module-server.R:720:7'): callback code/state clears query even when token exchange fails ── Expected `values$error` to be identical to "token_exchange_error". Differences: `actual`: "invalid_callback_query" `expected`: "token_exchange_error" Backtrace: ▆ 1. ├─shiny::testServer(...) at test-module-server.R:696:3 2. │ ├─shiny:::withMockContext(...) 3. │ │ ├─shiny::isolate(...) 4. │ │ │ ├─shiny::..stacktraceoff..(...) 5. │ │ │ └─ctx$run(...) 6. │ │ │ ├─promises::with_promise_domain(...) 7. │ │ │ │ └─domain$wrapSync(expr) 8. │ │ │ ├─shiny::withReactiveDomain(...) 9. │ │ │ │ └─promises::with_promise_domain(...) 10. │ │ │ │ └─domain$wrapSync(expr) 11. │ │ │ │ └─base::force(expr) 12. │ │ │ ├─shiny:::with_otel_span_context(...) 13. │ │ │ │ └─base::force(expr) 14. │ │ │ ├─shiny::captureStackTraces(...) 15. │ │ │ │ └─promises::with_promise_domain(...) 16. │ │ │ │ └─domain$wrapSync(expr) 17. │ │ │ │ └─base::withCallingHandlers(expr, error = doCaptureStack) 18. │ │ │ └─env$runWith(self, func) 19. │ │ │ └─shiny (local) contextFunc() 20. │ │ │ └─shiny::..stacktraceon..(expr) 21. │ │ ├─shiny::withReactiveDomain(...) 22. │ │ │ └─promises::with_promise_domain(...) 23. │ │ │ └─domain$wrapSync(expr) 24. │ │ │ └─base::force(expr) 25. │ │ └─withr::with_options(...) 26. │ │ └─base::force(code) 27. │ └─rlang::eval_tidy(quosure, mask, rlang::caller_env()) 28. └─testthat::expect_identical(values$error, "token_exchange_error") at test-module-server.R:720:7 [ FAIL 1 | WARN 0 | SKIP 19 | PASS 1256 ] Error: ! Test failures. Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... OK * checking PDF version of manual ... [13s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR