library(targets)
tar_option_set(
packages = c("tibble", "dplyr", "ggplot2"),
)
tar_source()
list(
tar_target(raw_data, get_data()),
tar_target(processed_data, process_data(raw_data)),
tar_target(chart, produce_chart(processed_data)),
tar_target(model, build_model(processed_data)),
tar_target(report, generate_report(chart, model))
)