Skip to contents

Helper function to detect the current cache folder. See gb_set_cache_dir().

Usage

gb_detect_cache_dir(x = NULL)

Arguments

x

Ignored.

Value

A character with the path to your cache_dir. The same path will appear also as a clickable message, see cli::inline-markup.

See also

Other cache utilities: gb_clear_cache(), gb_set_cache_dir()

Examples

gb_detect_cache_dir()
#>  /tmp/RtmpT4EU97/geobounds
#> [1] "/tmp/RtmpT4EU97/geobounds"