once.Rd
The once()
function allows you to easily execute expensive compute operations only once, and save the resulting object to disk.
once(expr, file_path = NULL, rerun = FALSE)
The expensive expression to evaluate
File path for saving the output object as an Rds file. Note that if no file name is provided it will not save!
Rerun the expression anyway and save the result? Defaults to false.
the results of expr