From 2f1cad8b50cbf9e86f060a504fd0c5bc512406d7 Mon Sep 17 00:00:00 2001 From: Rich FitzJohn Date: Tue, 8 Dec 2020 14:48:08 +0000 Subject: [PATCH] Eliminate unused variable in test --- tests/testthat/test-remote-path.R | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/testthat/test-remote-path.R b/tests/testthat/test-remote-path.R index 7251b1f8c..94195c3a5 100644 --- a/tests/testthat/test-remote-path.R +++ b/tests/testthat/test-remote-path.R @@ -304,10 +304,9 @@ test_that("pull dependencies that use a query", { test_that("bundle pack and import", { skip_on_cran_windows() - path1 <- prepare_orderly_example("minimal") - path2 <- prepare_orderly_example("minimal") + path <- prepare_orderly_example("minimal") - remote <- orderly_remote_path(path1) + remote <- orderly_remote_path(path) res <- orderly_bundle_pack_remote("example", remote = remote) expect_true(same_path(dirname(res), tempdir())) expect_match(basename(res), "^[0-9]{8}-[0-9]{6}-[[:xdigit:]]{8}\\.zip$")