Correlation Heatmap logical error in MetaboAnalystR

I am trying to create correlation heatmaps for my data but unable to do so on R and run into the following error:

mSet<-PlotCorrHeatMap(mSet, “corr_1_”, format = “png”, dpi=72, width=NA, “col”, “spearman”, “bwm”, “detail”, F, F, 999)
[1] 0 999
Error in if (fix.col) { : argument is not interpretable as logical

Other statistical analyses such as ANOVA, PCA, Volcano plots, FC plots, etc work well with the same data!
Thank you for your guidance on how to fix this error!