tests/testthat/_snaps/configuration.md

config checks inputs

Code
  vcr_configure(foo = "bar")
Condition
  Error in `vcr_configure()`:
  ! unused argument (foo = "bar")
Code
  vcr_configure(record = "asdfadfs")
Condition
  Error in `vcr_configure()`:
  ! `record` must be one of "none", "once", "new_episodes", or "all", not "asdfadfs".
Code
  vcr_configure(match_requests_on = "x")
Condition
  Error in `vcr_configure()`:
  ! `match_requests_on` must be one of "method", "uri", "headers", "host", "path", "body", "body_json", or "query", not "x".

filter_sensitive data strips quotes with message

Code
  vcr_configure(filter_sensitive_data = list(key = "\"val\""))
Condition
  Warning:
  filter_sensitive_data: leading & trailing quotes trimmed from 'key'


Try the vcr package in your browser

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

vcr documentation built on Aug. 8, 2025, 6:45 p.m.