From 346280e8626200614e9bbcb4d40cf013c2e26253 Mon Sep 17 00:00:00 2001 From: Josiah Parry Date: Wed, 31 Jul 2024 10:30:16 -0400 Subject: [PATCH] update tests to be skipped on cran --- CRAN-SUBMISSION | 6 +++--- tests/testthat/test-integration.R | 5 +++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/CRAN-SUBMISSION b/CRAN-SUBMISSION index 4a141af..ca1fc37 100644 --- a/CRAN-SUBMISSION +++ b/CRAN-SUBMISSION @@ -1,3 +1,3 @@ -Version: 0.1.3 -Date: 2024-07-10 01:14:19 UTC -SHA: 4550d5d4681ea3d03bb9d3c650301dd8177f9615 +Version: 0.1.4 +Date: 2024-07-31 13:34:25 UTC +SHA: 803aa2ec99b6ea0c0f0eca0761a0984f853181f0 diff --git a/tests/testthat/test-integration.R b/tests/testthat/test-integration.R index 67962d1..9977700 100644 --- a/tests/testthat/test-integration.R +++ b/tests/testthat/test-integration.R @@ -1,6 +1,7 @@ -library(arcgislayers) - test_that("dates and ints are returned", { + skip_on_cran() + skip_if_not_installed("arcgislayers") + library(arcgislayers) res <- "https://services.arcgis.com/GL0fWlNkwysZaKeV/arcgis/rest/services/TXLA_ZCTA_PRCPpred/FeatureServer/0" |> arc_open() |> arc_select(n_max = 10)