make: Make a .rds file

Description Usage Arguments Value

Description

Makes a .rds file according to a builder function & a recency requirement. If the file already exists & the build function throws an error load the file instead.

Usage

1
2
make(cache.file, builder = NULL, verbose = FALSE, max.age = as.difftime(7,
  units = "days"), ...)

Arguments

cache.file

The name of the file to be made or loaded, without

builder

The builder function

verbose

Should I be verbose?

max.age

If the .rds file exists and is younger than the max.age, skip the builder function

...

Additional parameters to be evaluated in the builder function

Value

An R data object


efbbrown/make documentation built on May 16, 2019, 12:13 a.m.