Skip to content

Commit

Permalink
fix cran issue (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinCally committed May 24, 2023
1 parent b8ba103 commit 8aac378
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/testthat/test-convert-layer-names.R
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ test_that("convert layer name works", {

# Check conversion of select and filter works
test_that("convert layer filter works", {

skip_if_offline()
skip_on_cran()
skip_if(geoserver_down)

r3 <- vicmap_query(layer = "datavic:VMHYDRO_WATERCOURSE_DRAIN") %>%
filter(HIERARCHY == "L" & PFI == 8547514) %>%
collect()
Expand All @@ -48,6 +53,11 @@ test_that("convert layer filter works", {
})

test_that("convert layer select works", {

skip_if_offline()
skip_on_cran()
skip_if(geoserver_down)

r5 <- vicmap_query(layer = "datavic:VMHYDRO_WATERCOURSE_DRAIN") %>%
select(HIERARCHY, PFI) %>%
head(5) %>%
Expand Down

0 comments on commit 8aac378

Please sign in to comment.