R/save_current.R

Defines functions save_current

save_current <- function(out, runtime, id, name = "xx", .board = NULL) {
  # TODO name
  # TODO board

  saveRDS(id, file = paste0(".currr.data/", name, "/id_", id, ".rds"))
  saveRDS(runtime, file = paste0(".currr.data/", name, "/runtime_", id, ".rds"))
  saveRDS(out, file = paste0(".currr.data/", name, "/out_", id, ".rds"))

  update_status()

}

Try the currr package in your browser

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

currr documentation built on March 7, 2023, 8:34 p.m.