nhdplusTools_cache_settings: nhdplusTools cache settings

View source: R/A_nhdplusTools.R

nhdplusTools_cache_settingsR Documentation

nhdplusTools cache settings

Description

Provides an interface to adjust nhdplusTools 'memoise' cache.

Mode and timeout can also be set using environment variables. 'NHDPLUSTOOLS_MEMOISE_CACHE' and 'NHDPLUSTOOLS_MEMOISE_TIMEOUT' are used unless overriden with this function.

Usage

nhdplusTools_cache_settings(mode = NULL, timeout = NULL)

Arguments

mode

character 'memory' or 'filesystem'

timeout

numeric number of seconds until caches invalidate

Value

list containing settings at time of calling. If inputs are NULL, current settings. If settings are altered, previous setting values.


dblodgett-usgs/nhdplusTools documentation built on March 26, 2024, 12:12 p.m.