From b44ec2539bcbe8ff3b4e0420df14217ee71a97de Mon Sep 17 00:00:00 2001 From: sbashevkin Date: Thu, 11 Jul 2024 16:19:28 -0700 Subject: [PATCH] removing alteration to test on CI --- .../testthat/test-04_remove_unknown_lengths.R | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/tests/testthat/test-04_remove_unknown_lengths.R b/tests/testthat/test-04_remove_unknown_lengths.R index 02cadf6..bb13d2f 100644 --- a/tests/testthat/test-04_remove_unknown_lengths.R +++ b/tests/testthat/test-04_remove_unknown_lengths.R @@ -1,21 +1,7 @@ cat("testing remove_unknown_lengths") -sys <- check_os_ci() + con <- open_database() -if (sys$os == "windows" & sys$ci) { - fish <- open_fish(con, quiet = TRUE) %>% - filter( - Taxa %in% c( - "Morone saxatilis", - "Oncorhynchus tshawytscha", - "Dorosoma petenense", - "Alosa sapidissima", - "Spirinchus thaleichthys" - ) & - !is.na(Count) - ) -} else { - fish <- open_fish(con, quiet = TRUE) -} +fish <- open_fish(con, quiet = TRUE) df_removed_nu <- fish %>% select(SampleID, Taxa, Count, Length) %>%