Skip to content

Commit

Permalink
add sf as a required dependency as used in more then one function
Browse files Browse the repository at this point in the history
  • Loading branch information
aylapear committed Jan 22, 2025
1 parent 7f7491b commit 1507db0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Imports:
dplyr,
lifecycle,
rlang,
sf,
stringi,
stringr,
tibble,
Expand All @@ -31,7 +32,6 @@ Imports:
Suggests:
covr,
readr,
sf,
testthat (>= 3.0.0)
Config/testthat/edition: 3
Encoding: UTF-8
Expand Down
6 changes: 0 additions & 6 deletions tests/testthat/test-duplicates.R
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,6 @@ test_that("preserves groups", {
})

test_that("preserves single active geometry column called geometry", {
skip_if_not_installed("sf")

data <- tibble::tibble(
X = c(1, 2, 2, 3, 3, 4, 4),
Y = c(11, 12, 13, 14, 14, 15, 15),
Expand All @@ -142,8 +140,6 @@ test_that("preserves single active geometry column called geometry", {
})

test_that("preserves single active geometry column called map", {
skip_if_not_installed("sf")

data <- tibble::tibble(
X = c(1, 2, 2, 3, 3, 4, 4),
Y = c(11, 12, 13, 14, 14, 15, 15),
Expand All @@ -165,8 +161,6 @@ test_that("preserves single active geometry column called map", {
})

test_that("deals with one active geometry column and one inactive geometry column", {
skip_if_not_installed("sf")

data <- tibble::tibble(
X = c(1, 2, 2, 3, 3, 4, 4),
Y = c(11, 12, 13, 14, 14, 15, 15),
Expand Down

0 comments on commit 1507db0

Please sign in to comment.