Use tar_watch_ui() and tar_watch_server() to include tar_watch() as a Shiny module in an app.

tar_watch_server(
  id,
  height = "650px",
  exclude = ".Random.seed",
  config = "_targets.yaml"
)

Arguments

id

Character of length 1, ID corresponding to the UI function of the module.

height

Character of length 1, height of the visNetwork widget and branches table.

exclude

Character vector of nodes to omit from the graph.

config

Character of length 1, path to the YAML file with all the configuration settings (default: _targets.yaml).

Value

A Shiny module server.

See also