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

Try the rerddap package in your browser

Any scripts or data that you put into this service are public.

rerddap documentation built on Aug. 23, 2023, 9:06 a.m.