Skip to contents

Requires the igraph package (listed in Suggests).

Usage

plot_cache_graph(cache_dir = NULL, output = NULL, highlight_stale = TRUE)

Arguments

cache_dir

Optional cache directory. When provided the graph is first synchronised from disk via cacheTree_sync.

output

Optional file path (e.g. "graph.png" or "graph.pdf"). If NULL (default), plots to the current graphics device.

highlight_stale

Logical. If TRUE (default), nodes whose tracked files have changed on disk are coloured amber.

Value

An igraph graph object (invisibly).