Error in PreparePeakTable4PSEA()

If I put a peak table with more than two groups into PreparePeakTable4PSEA(), it will definitely cause an error:

And it’s because it will perform anova analysis for samples that have more than two groups.

But there is no such object as ‘mSetObj$analSet$tt’, because it did not perform a t test…

Please help me fix it. Thank you!!!