Description Usage Arguments Details
Performs basic sanity checks on a fitness_evaluator and its candidate argument set.
1 | check_fitness_evaluator(the_seq, fun, args)
|
fun |
The fitness_evaluator function |
args |
A single list of arguments for the fitness_evaluator that are reasonable. This will be used to call the evaluator on dummy data during the checks. |
Since fitness_evaluators are custom functions that are only used in deeply nested code and called with mechanisms like do.call, it makes debugging them really hard. This function performs a number of checks to ensure that the basic errors are flagged before the main loop is initiated. This function is also used extensively in the testing of the fitness_evaluators.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.