Update server.R

Fixed shinyApp by adding dependency + removed hard coded line