Check what files exist in your read.abares file cache. This function
will always return full file names, i.e., the directory path is prepended.
See the help file for list.files()
for more on the full.names
argument.
If you wish to strip the file path and only return the directory or
file names, use basename()
. See examples for more.
See also
Other cache:
clear_cache()
Examples
# not run because cached files shouldn't exist on CRAN or testing envs
if (FALSE) { # \dontrun{
# list directories in cache only
inspect_cache()
# list directory names, stripping the file path
basename(inspect_cache)
# list all files in subdirectories of the cache
inspect_cache(recursive = TRUE)
# list all files in subdirectories, stripping the file path
basename(inspect_cache(recursive_true))
} # }