Skip to content

Commit

Permalink
check cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
dblodgett-usgs committed Mar 23, 2024
1 parent 62e7f86 commit ada476c
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 3 deletions.
2 changes: 1 addition & 1 deletion R/arcrest_tools.R
Original file line number Diff line number Diff line change
Expand Up @@ -215,5 +215,5 @@ query_usgs_arcrest <- memoise::memoise(function(AOI = NULL, ids = NULL,
}
all_out[[l]] <- out
}
sf::st_sf(data.table::rbindlist(all_out))
tryCatch(sf::st_sf(data.table::rbindlist(all_out)), error = function(e) NULL)
}, ~memoise::timeout(nhdplusTools_memoise_timeout()), cache = nhdplusTools_memoise_cache())
24 changes: 24 additions & 0 deletions man/nhdplusTools_cache_settings.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions tests/testthat/test_get_vaa.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

test_that("vaa examples", {
skip_on_cran()
testthat::skip_on_os("linux")
skip_on_os("linux")
skip_on_os("mac")

vaa_names <- get_vaa_names()

Expand Down Expand Up @@ -36,7 +37,8 @@ test_that("vaa examples", {
test_that("catchment chars", {

skip_on_cran()
testthat::skip_on_os("linux")
skip_on_os("linux")
skip_on_os("mac")

httptest::without_internet({
suppressMessages(expect_warning(w <- get_characteristics_metadata(cache = FALSE)))
Expand Down
1 change: 1 addition & 0 deletions tests/testthat/test_rescale_catchments.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@

test_that("rescale", {
skip_on_cran()
skip_on_os("mac")

vars <- data.frame(characteristic_id = c("CAT_EWT", "CAT_EWT", "CAT_EWT", "CAT_EWT", "CAT_BASIN_AREA"),
summary_statistic = c("area_weighted_mean", "min", "sum", "max", "sum"))
Expand Down

0 comments on commit ada476c

Please sign in to comment.