From 1c4fee6e048370bf79bb587c8dface5239bea6f9 Mon Sep 17 00:00:00 2001 From: hannahlowens <hannah.owens@gmail.com> Date: Thu, 3 Mar 2022 16:50:50 +0100 Subject: [PATCH] Fixed a problem test. --- CRAN-SUBMISSION | 4 ++-- tests/testthat/test-gbifRetriever.R | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CRAN-SUBMISSION b/CRAN-SUBMISSION index 6bf5071..db1e275 100644 --- a/CRAN-SUBMISSION +++ b/CRAN-SUBMISSION @@ -1,3 +1,3 @@ Version: 0.5.2 -Date: 2022-03-03 10:45:39 UTC -SHA: e9fd0e6a3255b502cdd04c9a0f2499a2b6362643 +Date: 2022-03-03 15:42:32 UTC +SHA: 234014ad40ad9d3f7a13b41cb6d1bede55f7c6a4 diff --git a/tests/testthat/test-gbifRetriever.R b/tests/testthat/test-gbifRetriever.R index df34aad..47770dc 100644 --- a/tests/testthat/test-gbifRetriever.R +++ b/tests/testthat/test-gbifRetriever.R @@ -3,6 +3,7 @@ context("Testing gbifRetriever") library(occCite) test_that("gbifRetriever behaves as expected", { + skip_on_cran() test <- try(rgbif::occ_count(country = "DK"), silent = T ) @@ -25,7 +26,7 @@ test_that("gbifRetriever behaves as expected", { }) test_that("gbifRetriever warns when there's no internet connection", { - + skip_on_cran() test <- try(rgbif::occ_count(country = "DK"), silent = T )