Skip to contents

Inspect the local ato cache

Usage

ato_cache_info()

Value

A list with dir, n_files, size_bytes, size_human, and files.

See also

Other configuration: ato_clear_cache(), ato_meta()

Examples

# \donttest{
op <- options(ato.cache_dir = tempdir())
ato_cache_info()
#> $dir
#> [1] "/tmp/RtmpWNu6dG"
#> 
#> $n_files
#> [1] 4
#> 
#> $size_bytes
#> [1] 8936
#> 
#> $size_human
#> [1] "8.7 KB"
#> 
#> $files
#>                                     name size_bytes            modified
#> 1 bslib-e9b2b13fa612f50d23e4850d93d60d01       4096 2026-08-23 17:35:36
#> 2                                downlit       4096 2026-08-23 17:35:39
#> 3                       file1a4e6493569a        434 2026-08-23 17:35:39
#> 4                       file1a4e33afd6c8        310 2026-08-23 17:35:39
#> 
options(op)
# }