cache_is_fresh: Checks whether a cached file is stale

cache_is_freshR Documentation

Checks whether a cached file is stale

Description

Checks whether a cached file is stale

Usage

cache_is_fresh(cache, max_age = NULL)

Arguments

cache

Filepath to the cached file to check.

max_age

The maximum age allowed for a cache to be considered fresh. Follows syntax of lubridate package.

Value

A dataframe containing only the fresh portion of the cache file


pepfar-datim/datapackr documentation built on April 14, 2024, 10:35 p.m.