Skip to content

Commit

Permalink
one more bug for #365
Browse files Browse the repository at this point in the history
  • Loading branch information
dblodgett-usgs committed May 20, 2024
1 parent 729d924 commit 6b18b97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/A_nhdplusTools.R
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ nhdplus_path <- function(path = NULL, warn = FALSE) {
#'
nhdplusTools_cache_settings <- function(mode = NULL, timeout = NULL) {
current_mode <- tryCatch(get("nhdpt_mem_cache", envir = nhdplusTools_env),
error = \(e) nhdplusTools_memoise_cache())
error = \(e) "filesystem") # default to filesystem
current_timeout <- tryCatch(get("nhdpt_cache_timeout", envir = nhdplusTools_env),
error = \(e) nhdplusTools_memoise_timeout())

Expand Down

0 comments on commit 6b18b97

Please sign in to comment.