write_cache: Write objects to the website template cache folder

Description Usage Arguments Value

View source: R/cache_rds.R

Description

Use this function to store objects as rds files in a standardised location and speed up knitting.

Usage

1
write_cache(object, cache_folder = "_cache", ...)

Arguments

object

object to save.

cache_folder

defaults to '_cache' subfolder.

...

Additional parameters passed to 'readr::write_rds()' such as compression arguments.

Value

'write_cache()' returns the input object invisibly


koncina/bs2site documentation built on Sept. 23, 2019, 6:54 p.m.