check_cassette_names {vcr} | R Documentation |
Check cassette names
Description
This function has been deprecated because it's not possible for it to detect re-used cassette names 100% correctly and the problem of duplicated cassette names is relatively easy to debug by hand.
Usage
check_cassette_names(
pattern = "test-",
behavior = "stop",
allowed_duplicates = NULL
)
Arguments
pattern |
(character) regex pattern for file paths to check.
This is done inside of |
behavior |
(character) "stop" (default) or "warning". If "warning",
we use |
allowed_duplicates |
(character) Cassette names that can be duplicated. |
[Package vcr version 2.0.0 Index]