From 6e69c29afd6ed55fc4bb1364ee380e7b77f7e51e Mon Sep 17 00:00:00 2001 From: David Blodgett Date: Sun, 15 Sep 2024 20:36:34 -0500 Subject: [PATCH] avoid crazy slow read from ring direction check fixes #411 --- R/get_nhdplushr.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/get_nhdplushr.R b/R/get_nhdplushr.R index 1b54e858..cb5e7b63 100644 --- a/R/get_nhdplushr.R +++ b/R/get_nhdplushr.R @@ -90,7 +90,7 @@ get_nhdplushr <- function(hr_dir, out_gpkg = NULL, for(layer in layers) { if(!is.null(out_gpkg) && layer %in% layer_names & !overwrite) { - out <- read_sf(out_gpkg, layer) + out <- read_sf(out_gpkg, layer, check_ring_dir = FALSE) } else { layer_set <- lapply(gdbs, get_hr_data, layer = layer, ...)