From a4f4b3bcb250935d7a81707bd9123013629e2d10 Mon Sep 17 00:00:00 2001 From: Mike Mahoney Date: Mon, 21 Oct 2024 08:24:59 -0400 Subject: [PATCH] Skip test if offline --- tests/testthat/test-query_and_sign.R | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/testthat/test-query_and_sign.R b/tests/testthat/test-query_and_sign.R index 0a138e8..40703d3 100644 --- a/tests/testthat/test-query_and_sign.R +++ b/tests/testthat/test-query_and_sign.R @@ -1,4 +1,7 @@ test_that("non-4326 CRS warns", { + skip_on_cran() + skip_if_offline() + nc <- sf::read_sf( system.file("shape/nc.shp", package = "sf") )