From 3a6d3fa5d03deeaa1c713fe9a876c2e21b54382d Mon Sep 17 00:00:00 2001 From: dtm2451 Date: Wed, 23 Jul 2025 17:18:23 -0400 Subject: [PATCH] magmaR - remove unneeded 'check_cassette_names()' call, deprecated in vcr-v2.0.0 --- etna/packages/magmaR/tests/testthat/helper-magmaR.R | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/etna/packages/magmaR/tests/testthat/helper-magmaR.R b/etna/packages/magmaR/tests/testthat/helper-magmaR.R index 9e59dffa13..72f5223773 100644 --- a/etna/packages/magmaR/tests/testthat/helper-magmaR.R +++ b/etna/packages/magmaR/tests/testthat/helper-magmaR.R @@ -3,16 +3,6 @@ ### Setup relating to vcr library("vcr") -# vcr_dir <- "../fixtures" -# if (!nzchar(Sys.getenv("TOKEN"))) { -# if (dir.exists(vcr_dir)) { -# Sys.setenv("TOKEN" = "foobar") -# } else { -# stop("No API key nor cassettes, tests cannot be run.", -# call. = FALSE) -# } -# } - TOKEN <- .get_sysenv_or_mock("TOKEN") URL <- magmaRset("")$url @@ -20,4 +10,3 @@ invisible(vcr::vcr_configure( filter_sensitive_data = list("<<>>" = TOKEN), dir = "../fixtures" )) -vcr::check_cassette_names()