cache_info: List folders and their sizes in cache

View source: R/cache_info.R

cache_infoR Documentation

List folders and their sizes in cache

Description

This function will return a tibble with the name and sizes of all folder in specified directory. Will default to textdata's default cache.

Usage

cache_info(dir = NULL)

Arguments

dir

Character, path to directory where data will be stored. If NULL, user_cache_dir will be used to determine path.

Value

A tibble with 2 variables:

name

Name of the folder

size

Size of the folder

Examples

## Not run: 
cache_info()

## End(Not run)

EmilHvitfeldt/textdata documentation built on June 1, 2024, 1:12 a.m.