Skip to content

Commit

Permalink
skip slow tests on ci
Browse files Browse the repository at this point in the history
  • Loading branch information
dblodgett-usgs committed Dec 17, 2024
1 parent d36d386 commit f05320f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/discover_nhdplus.R
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ discover_nhdplus_id <- function(point = NULL, nldi_feature = NULL, raindrop = FA
coords[1], " ", coords[2], "))",
"&propertyName=featureid")

d <- jsonlite::fromJSON(rawToChar(RETRY("GET", URLencode(URL))$content))
d <- jsonlite::fromJSON(rawToChar(RETRY("GET", utils::URLencode(URL))$content))

as.integer(d$features$properties$featureid)

Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test_00_plot_local_nhdplus.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
source(system.file("extdata/sample_data.R", package = "nhdplusTools"))

test_that("local data", {

testthat::skip_on_ci()
# For test performance
Sys.setenv(MAKE_BASIN="FALSE")
options("rgdal_show_exportToProj4_warnings"="none")
Expand Down

0 comments on commit f05320f

Please sign in to comment.