Check installed.packages in onAttach
Finally made shiny work