Skip to content

Commit

Permalink
remove test covered by test-check_package.R
Browse files Browse the repository at this point in the history
  • Loading branch information
PietrH committed Jul 14, 2023
1 parent 8043218 commit 7e6a439
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions tests/testthat/test-check_species.R
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,3 @@ test_that("Functions works case insensitively", {
species <- check_species(mica, vn_name)
testthat::expect_equal(species, "Anas platyrhynchos")
})

test_that("Argument datapkg is deprecated: warning returned", {
testthat::expect_warning(
rlang::with_options(
lifecycle_verbosity = "warning",
check_species(datapkg = mica, species = "Anas strepera")
)
)
})

0 comments on commit 7e6a439

Please sign in to comment.