is_recording {vcr} | R Documentation |
Determine if vcr is recording/replaying
Description
local_cassette()
and use_cassette()
set the VCR_IS_RECORDING
and VCR_IS_REPLAYING
environment variables to make it easy to determine
vcr state without taking a dependency on vcr. These functions show you
how to use them; we expect you to copy and paste these functions into your
own package
Usage
is_recording()
is_replaying()
Value
TRUE
or FALSE
.
[Package vcr version 2.0.0 Index]