From f279433c17e0fc6a9f2ce371b3e45e01c7eb5cd9 Mon Sep 17 00:00:00 2001 From: Scott Chamberlain Date: Fri, 14 Aug 2020 11:06:49 -0700 Subject: [PATCH] skip tests ci and cran --- tests/testthat/test-downstream.R | 1 + tests/testthat/test-rank_utils.R | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/testthat/test-downstream.R b/tests/testthat/test-downstream.R index 76848c8..e464d14 100644 --- a/tests/testthat/test-downstream.R +++ b/tests/testthat/test-downstream.R @@ -12,6 +12,7 @@ test_that("taxizedb::downstream matches taxize::downstream - NCBI", { }) test_that("taxizedb::downstream matches taxize::downstream - ITIS", { + skip_on_ci() arab_id_itis <- name2taxid('Arabidopsis', db="itis") expect_equal( NROW(taxize::downstream('Arabidopsis', db='itis', downto='species', diff --git a/tests/testthat/test-rank_utils.R b/tests/testthat/test-rank_utils.R index 77c5ab6..9a32b71 100644 --- a/tests/testthat/test-rank_utils.R +++ b/tests/testthat/test-rank_utils.R @@ -1,4 +1,6 @@ test_that("rank_utils", { + skip_on_cran() + expect_is(txdb_ids, 'character') expect_is(txdb_ranks, 'character') expect_is(txdb_rr, 'data.frame') @@ -10,4 +12,3 @@ test_that("rank_utils", { df <- data.frame(rank = c("family","genus","species"), stuff=1:3) expect_equal(NROW(txdb_prune_too_low(df, "genus")), 2) }) -