Skip to content

Commit

Permalink
push changes for CRAN
Browse files Browse the repository at this point in the history
  • Loading branch information
shahronak47 committed Jul 9, 2023
1 parent 88e13f3 commit e15e930
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ shinyRatings\.Rproj
^_pkgdown\.yml$
^docs$
^pkgdown$
^README\.md$
^NEWS\.md$
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: shinyRatings
Title: An intuitive way of providing star rating on a shiny app
Version: 0.0.3
Title: An Intuitive Way of Providing Star Rating on a Shiny App
Version: 0.1.0
Authors@R: person("Ronak", "Shah", , "[email protected]", role = c("aut", "cre"))
Description: An intuitive way of providing star rating on a shiny app.
License: MIT + file LICENSE
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# shinyRatings 0.1.0

- [Make package ready for CRAN submission.](#17)

# shinyRatings 0.0.3

- [Add more than 1 shinyRating without disturbing each other](#15)
Expand Down
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,15 @@ library(shiny)
library(shinyRatings)
ui <- fluidPage(
shinyRatings('star'),
textOutput('text')
shinyRatings('star1', no_of_stars = 7, default = 5),
textOutput('text1'),
shinyRatings('star2',default = 3, disabled = TRUE),
textOutput('text2'),
)
server <- function(input, output, session) {
output$text <- renderText({paste("No. of stars : ", input$star)})
output$text1 <- renderText({paste("No. of stars : ", input$star1)})
output$text2 <- renderText({paste("No. of stars : ", input$star2)})
}
shinyApp(ui, server)
Expand Down
Binary file modified man/figures/output.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e15e930

Please sign in to comment.