README.md

R build status

runonce

Run once and save result. Then, just read the result.

Code example

tmp <- tempfile(fileext = ".rds")

save_run({
  Sys.sleep(2)
  1
}, file = tmp)

save_run({
  Sys.sleep(2)
  1
}, file = tmp)


Try the runonce package in your browser

Any scripts or data that you put into this service are public.

runonce documentation built on July 27, 2020, 5:07 p.m.