inst/examples/dag_targets/_make.R

library(makeit)

make("first_target.R", NULL, "output/first_target.dat")
make("global_object.R", NULL, "output/global_object.dat")
make("second_target.R",
     prereq=c("output/first_target.dat", "output/global_object.dat",
              "inner_function.R", "outer_function.R"),
     target="output/second_target.dat")

Try the makeit package in your browser

Any scripts or data that you put into this service are public.

makeit documentation built on April 11, 2025, 5:38 p.m.