R package to facilitate shiny app