Skip to contents

Copy workflow templates (targets pipeline, Quarto report) to your project. These templates provide starting points for production LLM workflows.

Usage

use_dsprrr_template(
  template = c("targets", "quarto", "all"),
  path = ".",
  overwrite = FALSE
)

Arguments

template

Which template to use: "targets", "quarto", or "all"

path

Destination directory (default: current directory)

overwrite

Logical; overwrite existing files (default FALSE)

Value

Character vector of created file paths (invisibly)

Examples

if (FALSE) { # \dontrun{
# Copy the targets pipeline template
use_dsprrr_template("targets")

# Copy all templates
use_dsprrr_template("all", path = "workflows/")
} # }