load_cache: Load a previously saved taxodist cache from disk

View source: R/fetch.R

load_cacheR Documentation

Load a previously saved taxodist cache from disk

Description

Restores lineage data saved with save_cache() into the current session cache, avoiding network requests for taxa already retrieved in a previous session.

Usage

load_cache(file)

Arguments

file

Path to an .rds file created by save_cache().

Value

Invisibly returns NULL.

See Also

save_cache(), clear_cache()

Examples


tmp <- tempfile(fileext = ".rds")
save_cache(tmp)
load_cache(tmp)
unlink(tmp)


taxodist documentation built on May 6, 2026, 1:06 a.m.