write_cache: Write an object to cache

Description Usage Arguments See Also

View source: R/write_cache.R

Description

Write an object to cache

Usage

1
write_cache(x, path, name = NULL, overwrite = FALSE, ...)

Arguments

x

Object to save. Typically a named list but can be anything.

path

Cache directory. A subdirectory will be created.

name

Optional: name of the directory to create. Default = NULL to use the expression passed as 'x'.

overwrite

Set to TRUE to overwrite an existing cache or directory.

...

Passed to write functions.

See Also

read_cache


antoine-sachet/cacheR documentation built on Jan. 17, 2021, 6:40 a.m.