R shiny Error in deploying

Getting the error while deploying a shiny app. I am using a local sql file as a database and then creating a shiny app. But I am getting the error.
Error:

  • Document depends on package "KernSmooth" but it is not installed.
    Please resolve before continuing.
    Execution halted

are you using Kernel Smoothing ?
if so are you missing a needed library( KernSmooth) in your code?

No. I have no use of it. But I still installed it and and it's showing this error.

are you deploying to shinyapps.io or some other shiny server?
This might be a useful thread for you
Error during deploy shiny app

I am deploying to shinyapps.io