Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 1.07 KB

README.md

File metadata and controls

35 lines (24 loc) · 1.07 KB

shinyRatings

pkgdown R-CMD-check Codecov test coverage

Have you ever needed a way to review things in shiny ? Look no further, as shinyRatings package is built to make this process very easy. It is also possible to give 1/2 stars.

library(shiny)
library(shinyRatings)

ui <- fluidPage(
  shinyRatings('star'), 
  textOutput('text')
)

server <- function(input, output, session) {
  output$text <- renderText({paste("No. of stars : ", input$star)})
}

shinyApp(ui, server)

Output


Installation

To install the package you can use -

devtools::install_github('shahronak47/shinyRatings')