dragon_code: R code that reproduces a run

View source: R/code_gen.R

dragon_codeR Documentation

R code that reproduces a run

Description

Every run, including ones started from the Shiny app, can be replayed as a script. The dataset path is the original source when it was a file. A run that continued from an earlier run refers to that run by directory.

Usage

dragon_code(run)

Arguments

run

A dragon_run or run directory.

Value

A single string of R code.


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