Improve Error message in CreateInputsCrit
The Error message "'BoolCrit' and 'InputsModel' series must have the same length"
is wrong in CreateInputsCrit. Indeed, the check is done between length(InputsModel$DatesR[RunOptions$IndPeriod])
and length(iListArgs2$BoolCrit
. As a consequence, I recommend the following Error message : "'BoolCrit' and the period defined in RunOptions must have the same length