| dragon_archive_run | R Documentation |
Archiving moves a run's directory under archived/ in runs_dir. It
disappears from dragon_runs() and the app's Runs list, but every file
is kept; dragon_unarchive_run() moves it back exactly as it was.
Deleting removes the run directory for good. Both refuse a run that is
queued or running (cancel it first) and a run that another run
continues from, unless force = TRUE.
dragon_archive_run(run, runs_dir = dragon_runs_dir(), force = FALSE)
dragon_unarchive_run(id, runs_dir = dragon_runs_dir())
dragon_delete_run(run, runs_dir = dragon_runs_dir(), force = FALSE)
run |
A |
runs_dir |
Where runs live. Needed only when |
force |
Archive or delete even if another run continues from this one. |
id |
An archived run's id, for |
The run id, invisibly.
if (interactive()) {
dragon_archive_run(run)
dragon_archived_runs()
dragon_unarchive_run(run$id)
dragon_delete_run("20260101-000000-old-experiment")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.