library("vcr")
invisible(vcr::vcr_configure(
filter_sensitive_data = list(
"<<<R_CIRCLE>>>" = Sys.getenv("R_CIRCLE"),
"<<<CIRCLE_R_PACKAGE_GITHUB_PAT>>>" = Sys.getenv("CIRCLE_R_PACKAGE_GITHUB_PAT")
),
dir = "../fixtures",
log = FALSE,
log_opts = list(file = "console")
))
vcr::check_cassette_names()
# set repo with access right on Circle CI here for local testing
Sys.setenv("CIRCLE_REPO" = "circle")
Sys.setenv("CIRCLE_OWNER" = "ropensci")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.