tests/testthat/helper-vcr.R

library("vcr") # *Required* as vcr is set up on loading
vcr::vcr_configure(
  dir = "../fixtures",
  filter_sensitive_data =
    list("<<votesmart_key>>" = Sys.getenv("VOTESMART_API_KEY")),
  preserve_exact_body_bytes = TRUE
)
vcr::check_cassette_names()
decktools/votesmart documentation built on May 2, 2023, 5:38 a.m.