Error in packages shinyapps

My app works locally but after deployment, it can't find the packages
My attempts to solve were:
library(package), require(package), package::function
So far none have worked

2021-10-13T17:47:45.624466+00:00 shinyapps[4848814]: Error in value[[3L]](cond) : there is no package called ‘rvest’
2021-10-13T17:47:45.624468+00:00 shinyapps[4848814]: Calls: local ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
2021-10-13T17:47:45.624471+00:00 shinyapps[4848814]: Execução interrompida
2021-10-13T17:47:45.624491+00:00 shinyapps[4848814]: Shiny application exiting ...

The problem of not finding the package is not unique to rvest