Package: fiery Check: tests New result: ERROR Running ‘testthat.R’ [4s/30s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(fiery) > > test_check("fiery") Fire started at 127.0.0.1:64621 Fire started at 127.0.0.1:64621 Fire restarted at 127.0.0.1:64621 Fire restarted at 127.0.0.1:64621 Fire started at 127.0.0.1:64621 Fire restarted at 127.0.0.1:64621 Fire started at 127.0.0.1:60317 Fire started at 127.0.0.1:58601 Fire started at 127.0.0.1:61330 Fire started at 127.0.0.1:60936 Fire started at 127.0.0.1:60936 closing Fire started at 127.0.0.1:62568 Fire started at 127.0.0.1:56147 [ FAIL 2 | WARN 0 | SKIP 4 | PASS 246 ] ══ Skipped tests (4) ═══════════════════════════════════════════════════════════ • On CRAN (4): 'test-Fire.R:95:5', 'test-Fire.R:400:5', 'test-Fire.R:497:5', 'test-loggers.R:10:5' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-Fire.R:468:5'): global headers are assigned and used ───────── response$headers (`actual`) not equal to list(...) (`expected`). `actual` is length 4 `expected` is length 3 `names(actual)`: "content-type" "x-powered-by" "x-xss-protection" "date" `names(expected)`: "Content-Type" "X-Powered-By" "X-XSS-Protection" `actual$content-type` is a character vector ('text/plain') `expected$content-type` is absent `actual$x-powered-by` is a character vector ('fiery') `expected$x-powered-by` is absent `actual$x-xss-protection` is a character vector ('1; mode=block') `expected$x-xss-protection` is absent `actual$date` is a character vector ('Wed, 20 Aug 2025 06:50:13 GMT') `expected$date` is absent `actual$Content-Type` is absent `expected$Content-Type` is a character vector ('text/plain') `actual$X-Powered-By` is absent `expected$X-Powered-By` is a character vector ('fiery') `actual$X-XSS-Protection` is absent `expected$X-XSS-Protection` is a character vector ('1; mode=block') ── Failure ('test-Fire.R:471:5'): global headers are assigned and used ───────── response$headers (`actual`) not equal to list(`Content-Type` = "text/plain", `X-Powered-By` = "fiery") (`expected`). `actual` is length 3 `expected` is length 2 `names(actual)`: "content-type" "x-powered-by" "date" `names(expected)`: "Content-Type" "X-Powered-By" `actual$content-type` is a character vector ('text/plain') `expected$content-type` is absent `actual$x-powered-by` is a character vector ('fiery') `expected$x-powered-by` is absent `actual$date` is a character vector ('Wed, 20 Aug 2025 06:50:13 GMT') `expected$date` is absent `actual$Content-Type` is absent `expected$Content-Type` is a character vector ('text/plain') `actual$X-Powered-By` is absent `expected$X-Powered-By` is a character vector ('fiery') [ FAIL 2 | WARN 0 | SKIP 4 | PASS 246 ] Error: Test failures Execution halted