Learn R Programming

vcr (version 2.0.0)

use_vcr: Setup vcr for a package

Description

[Deprecated] use_vcr() is deprecated because it is no longer needed. In lifecycle v2, local_cassette() and friends automatically use tests/testthat/_vcr without any need for additional configuration.

Usage

use_vcr(dir = ".", verbose = TRUE)

Value

only messages about progress, returns invisible()

Arguments

dir

(character) path to package root. default's to current directory

verbose

(logical) print progress messages. default: TRUE

Details

Sets a minimum vcr version, which is usually the latest (stable) version on CRAN. You can of course easily remove or change the version requirement yourself after running this function.