tests/testthat/_snaps/shared_secret_route.md

shared_secret_route validates inputs correctly

Code
  shared_secret_route(123, "X-Secret")
Condition
  Error in `shared_secret_route()`:
  ! `secret` must be a single string, not the number 123.
Code
  shared_secret_route("my-secret", 123)
Condition
  Error in `shared_secret_route()`:
  ! `header` must be a single string, not the number 123.


Try the routr package in your browser

Any scripts or data that you put into this service are public.

routr documentation built on Aug. 21, 2025, 5:47 p.m.