Skip to contents

Reproduces a DVC pipeline by executing all stages in the correct order.

Usage

dvc_repro(targets = NULL, force = FALSE)

Arguments

targets

Optional character vector of specific stages to reproduce

force

Logical. Whether to reproduce even if dependencies haven't changed

Value

Invisibly returns TRUE if successful

Examples

if (FALSE) { # \dontrun{
dvc_repro()  # reproduce entire pipeline
dvc_repro("train_model")  # reproduce specific stage
} # }