From 7bee9cc158716e7b5bfe5f75bc0b28f3de46117d Mon Sep 17 00:00:00 2001
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date: Wed, 30 Sep 2020 03:21:05 -0400
Subject: [PATCH] Skip another test if offline.
Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
---
tests/testthat/test-4-async-http.R | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/testthat/test-4-async-http.R b/tests/testthat/test-4-async-http.R
index d100a9b..7ba730b 100644
--- a/tests/testthat/test-4-async-http.R
+++ b/tests/testthat/test-4-async-http.R
@@ -41,6 +41,7 @@ test_that("download_file", {
})
test_that("download_file, errors", {
+ skip_if_offline()
tmp <- tempfile()
expect_error(
--
2.26.2