R/cache_paths.R

Defines functions get_cache_path

get_cache_path <- function() { # nocov start
  path <- Sys.getenv("RERDDAP_CACHE_PATH", "")
  if (identical(path, "")) {
    path <- getOption("rerddap_cache_path")
  }
  return(path)
} # nocov end
ropensci/rerddap documentation built on Jan. 25, 2024, 6:36 p.m.