Analytics: Correlation fails with Arguments in `...` must be used. error after installing custom R package

When you install custom R packages, you might get the below error when running a correlation in the Analytics view.

 “Arguments in `...` must be used.” 

If this is the case, please reset the R packages by following the below instruction.