Evaluates the wildcard placeholders of a data frame of remake
commands.
Use the help_remakeGenerator
function to get more help.
evaluate(x, rules = NULL, wildcard = NULL, values = NULL, expand = TRUE)
values
.x$command
if expand
is TRUE
.TRUE
, loop over values
when evaluating the wildcard,
creating more rows in the output data frame. Otherwise, each occurance of the wildcard
is replaced with the next entry in the values
vector, and the values are recycled.an evaluated data frame
If wildcard
and values
are not NULL
, the members of
values
will replace wildcard
in the command
column of x
. If the rules
list is not NULL
, rules
takes precedence
over wildcard
and values
. In this case, the names of rules
act as wildcards, and each corresponding element of rules
acts as a
values
argument in a recursive call to evaluate
.
Use the help_remakeGenerator
function to get more help.