Fail to create pdf report using MetaboanalystR

I am running MetaboAnalystR in R studio, after following the code of pathway analysis on the website, I tried to generate the pdf report, but there’s an error saying “Error: chunk 3
Error in GetORA.pathNames(mSetObj) : object ‘current.kegglib’ not found”.