Puts a named collection of data frames of remake
commands all together to make a YAML-like list of targets.
Unnamed arguments are permitted for data frames with exactly one row.
Targets "all"
, "clean"
, and "target_name"
,
are already used by remake
and cannot be overwritten by the user.
In addition, all target names must be unique. For instance,
targets(d = data.frame(target = c("x", "x"), command = c("ls()", "ls()")))
is illegal, and so is
targets(x = data.frame(target = c("x", "y"), command = c("ls()", "ls()")))
.
Use the help_remakeGenerator
function to get more help.
targets(...)
remake
commands.YAML-like list of targets.
Use the help_remakeGenerator
function to get more help.