Adds one or more upstream flows as dependencies of the target flow. Validates that all named flows exist and that no cycle would be created.
Arguments
- conn
A connection object from
pl_connect().- flow
Name of the flow to update.
- depends_on
Character vector of upstream flow names to add.
Examples
if (FALSE) { # \dontrun{
conn <- pl_connect()
pl_add_dependency(conn, "ans_data_freshness", "another_upstream_flow")
} # }