dragon_runs_dir: Directory where runs are stored

View source: R/run.R

dragon_runs_dirR Documentation

Directory where runs are stored

Description

Every function that writes a run (dragon_train(), dragon_bundle(), the app, and so on) takes a runs_dir argument that defaults to this. Without configuration it resolves to a dragonfarm_runs folder under a session temp directory, so a fresh R session never writes to your working directory or home filespace by default; that folder disappears once the session ends. For runs you want to keep, set a real location once with options(dragonfarm.runs_dir = "path/to/dragonfarm_runs") or the DRAGONFARM_RUNS_DIR environment variable, or pass ⁠runs_dir=⁠ to the function you're calling.

Usage

dragon_runs_dir()

Value

A path.

Examples

dragon_runs_dir()
withr::with_options(list(dragonfarm.runs_dir = "~/dragonfarm_runs"), dragon_runs_dir())

dragonfarm documentation built on Oct. 12, 2026, 5:07 p.m.