rstudio tidak dapat menemukan fungsi ggplot

install.packages("ggplot2")
library(ggplot2)

server = function(input, output, session){
  output$trend = renderPlot({
    ggplot()
  })
}
Jesus