Learn R Programming

vcr (version 2.0.0)

is_recording: 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()

Arguments

Value

TRUE or FALSE.