From 6f81a381aa584d752b18941f298d4007ed31af35 Mon Sep 17 00:00:00 2001 From: Andrew Gene Brown Date: Tue, 1 Oct 2024 08:44:33 -0700 Subject: [PATCH] fix test if soilDB not installed --- tests/testthat/test-parseFamily.R | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/testthat/test-parseFamily.R b/tests/testthat/test-parseFamily.R index 777ad6a..824df26 100644 --- a/tests/testthat/test-parseFamily.R +++ b/tests/testthat/test-parseFamily.R @@ -85,6 +85,9 @@ test_that("complex or uncommon family classes", { }) test_that("taxa above family and incomplete family names", { + + skip_if_not_installed("soilDB") + x <- data.frame( taxonname = c("Alberti", "Aquents", "Lithic Xeric Torriorthents", "Stagy Family", "Haplodurids"), taxonkind = c("series", "taxon above family", "taxon above family", "family", "taxon above family"),