Skip to content

Commit

Permalink
removing alteration to test on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sbashevkin committed Jul 11, 2024
1 parent b053e64 commit b44ec25
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions tests/testthat/test-04_remove_unknown_lengths.R
Original file line number Diff line number Diff line change
@@ -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) %>%
Expand Down

0 comments on commit b44ec25

Please sign in to comment.