tests/testthat/setup-rATTAINS.R

library("vcr") # *Required* as vcr is set up on loading
invisible(vcr::vcr_configure(
  ## this creates an absolute path, probably need a relative path
  dir = vcr::vcr_test_path("fixtures"),
  ## dir = "../fixtures",
  ## this creates an absolute path
  ## write_disk_path = vcr::vcr_test_path("files")
  write_disk_path = NULL
  ## probably want a relative path
  ## write_disk_path = "../files"
))
vcr::check_cassette_names()

Try the rATTAINS package in your browser

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

rATTAINS documentation built on April 25, 2023, 5:10 p.m.