save_cache: Save the taxodist lineage cache to disk

View source: R/fetch.R

save_cacheR Documentation

Save the taxodist lineage cache to disk

Description

Serialises the current session cache to an .rds file so it can be restored in a future session with load_cache(). Useful for reproducibility and for avoiding repeated network requests.

Usage

save_cache(file)

Arguments

file

Path to the .rds file to write.

Value

Invisibly returns NULL.

See Also

load_cache(), clear_cache()

Examples


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


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