cache_save: Save a cache file (name generated with 'code_name()'

View source: R/cache_save.R

cache_saveR Documentation

Save a cache file (name generated with code_name()

Description

Saves the object as an .RDS file with the filename

Usage

cache_save(object, filename)

Arguments

object

The object to cache (i.e. the value of the evaluating function).

filename

The cache file name (i.e. use the one generated by cache_name, see examples).

Details

See the examples for cache_name().


onlineforecast documentation built on Oct. 12, 2023, 5:15 p.m.