Aggregation module returns error
Hi @vagudets ,
By chance, I got the following error:
Error in Aggregation(recipe = recipe, data = data) :
object 'res' not found
Because the recipe I was using for testing contain:
$Time_aggregation
$Time_aggregation$execute
[1] FALSE
Although the function Aggregation checks execute if (recipe$Analysis$Workflow$Time_aggregation$execute) {
outside the condition there is the return(res)
.
I wonder if we need to reconsider the use of execute: yes/no
in the recipe at least for this case. If it is allowed to change the option in the recipe T/F, means that I can call the module in the code, or, on the contrary, if there is no allowed option for execute
in the recipe, the user should ensure if Aggregation
is necessary in the code.
Cheers,
Núria