Skip to contents

Size of the downloaded-repository file cache

Usage

repo_cache_size()

Value

total size of the cache in bytes (numeric). 0 when the cache is empty or absent.

Examples

# human-readable
format(structure(repo_cache_size(), class = "object_size"), units = "auto")
#> [1] "0 bytes"