Evaluates multiple wildcards. This is an internal utility function only. The use of evaluate is exactly the same, and it is recommended that users use evaluate directly rather than evaluations.

evaluations(x, rules = NULL, expand = TRUE)

Arguments

x
argument data frame
rules
Named list with wildcards as names and vectors of replacements as values. See the Details section for more.
expand
If TRUE, loop over the values in rules when evaluating the wildcards, 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.

Value

an evaluated data frame

Details

Evaluates multiple wildcards by running multiple calls to evaluate, with one call for every entry in the rules list. In the calls to evaluate, the names of rules are plugged into wildcard, and the elements of rules are plugged into values. Use the help_remakeGenerator function to get more help.

See also

help_remakeGenerator, evaluate