Error in PerformDDADeco

When using the PerformDDADeconvolution function, I encountered the following issue: "Error in PerformDDADeco(peak_matrix, scant1, scant2, scanms1, scanms2, : Missing parameter 'file_nm,' and there is no default value." Upon further inspection, it seems that a parameter is missing when passing it to PerformDDADeco`.
Could you please help me figure out how to resolve this error?
Thank you!

Further research shows that the error only exists when ncores>1==FALSE , because the PerformDDADeconvolution function passes the PerformDDADeco function parameters correctly in the if statement main branch, but incorrectly in the else branch.