This function adds DVC tracking to files that have been written using tidyverse write functions. It is designed to be used in a pipe chain after write operations.
Examples
if (FALSE) { # \dontrun{
data |>
readr::write_csv("data/processed/mydata.csv") |>
dvc_track("Updated processed data", push = TRUE)
} # }