Use this function to store objects as rds files in a standardised location and speed up knitting.
write_cache(object, cache_folder = "_cache", ...)
object | object to save. |
---|---|
cache_folder | defaults to `_cache` subfolder. |
... | Additional parameters passed to `readr::write_rds()` such as compression arguments. |
`write_cache()` returns the input object invisibly