diff --git a/tests/testthat/test-get_rai.R b/tests/testthat/test-get_rai.R index dd3056df..52844f55 100644 --- a/tests/testthat/test-get_rai.R +++ b/tests/testthat/test-get_rai.R @@ -104,14 +104,3 @@ test_that("life_stage filters data correctly", { ignore_attr = TRUE ) }) - -test_that("Argument datapkg is deprecated: warning returned", { - expect_warning( - rlang::with_options( - lifecycle_verbosity = "warning", - get_rai(datapkg = mica) - ), - regexp = "The `datapkg` argument of `get_rai()` is deprecated as of camtraptor 0.16.0.", - fixed = TRUE - ) -}) \ No newline at end of file diff --git a/tests/testthat/test-get_record_table.R b/tests/testthat/test-get_record_table.R index 79772aa7..d6dc6adf 100644 --- a/tests/testthat/test-get_record_table.R +++ b/tests/testthat/test-get_record_table.R @@ -194,14 +194,3 @@ test_that("filtering predicates are allowed and work well", { dplyr::pull(locationName) testthat::expect_identical(stations, stations_calculate) }) - -test_that("Argument datapkg is deprecated: warning returned", { - expect_warning( - rlang::with_options( - lifecycle_verbosity = "warning", - get_record_table(datapkg = mica) - ), - regexp = "The `datapkg` argument of `get_record_table()` is deprecated as of camtraptor 0.16.0.", - fixed = TRUE - ) -}) diff --git a/tests/testthat/test-map_dep.R b/tests/testthat/test-map_dep.R index f882984e..ebc06d0e 100644 --- a/tests/testthat/test-map_dep.R +++ b/tests/testthat/test-map_dep.R @@ -226,14 +226,3 @@ test_that("map_dep() returns a leaflet", { expect_no_error(map_dep(mica, feature = "n_species")) expect_no_message(map_dep(mica, feature = "n_species")) }) - -test_that("Argument datapkg is deprecated: warning returned", { - expect_warning( - rlang::with_options( - lifecycle_verbosity = "warning", - map_dep(datapkg = mica, feature = "n_obs") - ), - regexp = "The `datapkg` argument of `map_dep()` is deprecated as of camtraptor 0.16.0.", - fixed = TRUE - ) -})