check_cache: Check for availability and freshness of cached dataset

View source: R/utils.R

check_cacheR Documentation

Check for availability and freshness of cached dataset

Description

Check for availability and freshness of cached dataset

Usage

check_cache(cache_path, max_cache_age = NULL)

Arguments

cache_path

Path to the cached file to be checked.

max_cache_age

Maximum age at which the cache is considered "fresh".

Value

cache Returns the cached dataset if it is available and fresh, otherwise returns NULL.


pepfar-datim/daa-analytics documentation built on Nov. 24, 2024, 7:31 p.m.