Test whether an object exists in a package's user-cache pins board
Source:R/pkgpins.gen.R
is_cached.RdReturns TRUE if the object is present in the pkg's user-cache pins board and hasn't exceeded max_age, otherwise FALSE.
Arguments
- board
- id
Pin name uniquely identifying the object to be checked in the
pkg's user-cache pins board. A character scalar.- max_age
Maximum age the cached object is allowed to have. A valid lubridate duration. Defaults to 1 day (24 hours).
See also
Other object handling functions:
cache_obj(),
get_obj(),
hash_fn_call(),
rm_obj()