view_runs_diff {guildai}R Documentation

View a runs diff

Description

Renders and displays an HTML document showing the diffs between two run directories.

Usage

view_runs_diff(
  runs = 1:2,
  ...,
  output_html = tempfile("guild-diff-", fileext = ".html"),
  exclude = ".guild",
  output_empty = TRUE,
  exclude_directory_metadata = c("yes", "no", "auto", "recursive"),
  viewer = utils::browseURL
)

Arguments

runs

A runs selection for two runs. Defaults to the latest two runs.

..., output_empty, exclude_directory_metadata

Passed on to diffoscope. Pass "--help" for a printout of all arguments accepted.

output_html

Where to place the rendered html

exclude

Regex pattern for files or directories to exclude from the rendered report. By default, the guild internal metadata store ".guild" is omitted.

viewer

Viewer to display the rendered html. Defaults to utils::browseURL(), which opens a browser).

Value

path to the generated html, invisibly


[Package guildai version 0.0.1 Index]