Running ‘testthat.R’ [5s/32s]
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:63513
  Fire started at 127.0.0.1:63513
  Fire restarted at 127.0.0.1:63513
  Fire restarted at 127.0.0.1:63513
  Fire started at 127.0.0.1:63513
  Fire restarted at 127.0.0.1:63513
  Fire started at 127.0.0.1:58738
  Fire started at 127.0.0.1:58234
  Fire started at 127.0.0.1:64979
  Fire started at 127.0.0.1:59296
  Fire started at 127.0.0.1:59296
  
  closing
  Fire started at 127.0.0.1:49234
  Fire started at 127.0.0.1:63455
  [ 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 13:43:46 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 13:43:46 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