View source: R/vcr_test_path.R
vcr_test_path | R Documentation |
This function, similar to testthat::test_path()
, is designed to work both
interactively and during tests, locating files in the tests/
directory.
vcr_test_path(...)
... |
Character vectors giving path component. each character string
gets added on to the path, e.g., |
A character vector giving the path
vcr_test_path()
assumes you are using testthat for your unit tests.
if (interactive()) {
vcr_test_path("fixtures")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.