Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (7.1%) to scientific vocabulary
Keywords
Repository
Add animation to elements in Shiny.
Basic Info
- Host: GitHub
- Owner: Swechhya
- License: other
- Language: R
- Default Branch: master
- Homepage: https://swechhya.github.io/shinyanimate/
- Size: 4.75 MB
Statistics
- Stars: 39
- Watchers: 2
- Forks: 4
- Open Issues: 4
- Releases: 0
Topics
Metadata Files
README.md
shinyanimate
shinyanimate package is an R wrapper for animate.css. It allows user to easily add animations to any UI element in shiny app using the elements id.
Installation
To install the stable CRAN version:
r
install.packages("shinyanimate")
To install the latest development version from GitHub:
r
library(devtools)
install_github('Swechhya/shinyanimate')
Example code
Add animation after event is observed:
r
library(shiny)
library(shinyanimate)
ui <- fluidPage(
withAnim(),
div( id = 'shinyLogo', tags$img(src= "http://hexb.in/hexagons/shiny.png", width = "100px", height = "100px")),
actionButton(inputId = "button", label = "Animate")
)
server <- function(input, output, session) {
observeEvent(input$button,{
startAnim(session, 'shinyLogo', 'shakeX')
})
}
shinyApp(ui, server)

Add animation on mouse hover:
r
library(shiny)
library(shinyanimate)
ui <- fluidPage(
withAnim(),
div( id = 'shinyLogo', tags$img(src= "http://hexb.in/hexagons/shiny.png", width = "100px", height = "100px"))
)
server <- function(input, output, session) {
observe(addHoverAnim(session, 'shinyLogo', 'pulse'))
}
shinyApp(ui, server)

Add animation when the element comes into view after scrolling:
r
library(shiny)
library(shinyanimate)
ui <- fluidPage(
withAnim(),
tags$h1('Scroll below to see an animation'),
br(), br(), br(), br(), br(), br(), br(),
br(), br(), br(), br(), br(), br(), br(),
div( id = 'shinyLogo', tags$img(src= "http://hexb.in/hexagons/shiny.png", width = "100px", height = "100px"))
)
server <- function(input, output, session) {
observe(addScrollAnim(session, 'shinyLogo', 'bounceInRight'))
}
shinyApp(ui, server)

Owner
- Name: Swechhya Bista
- Login: Swechhya
- Kind: user
- Location: Kathmandu, Nepal
- Company: @leapfrogtechnology
- Repositories: 25
- Profile: https://github.com/Swechhya
GitHub Events
Total
Last Year
Committers
Last synced: over 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| Swechhya Bista | s****a@g****m | 36 |
Issues and Pull Requests
Last synced: 10 months ago
All Time
- Total issues: 6
- Total pull requests: 10
- Average time to close issues: almost 2 years
- Average time to close pull requests: 1 day
- Total issue authors: 1
- Total pull request authors: 3
- Average comments per issue: 0.5
- Average comments per pull request: 0.2
- Merged pull requests: 9
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- daattali (6)
Pull Request Authors
- Swechhya (8)
- olivroy (2)
- JohnCoene (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 321 last-month
- Total dependent packages: 0
- Total dependent repositories: 2
- Total versions: 4
- Total maintainers: 1
cran.r-project.org: shinyanimate
Animation for 'shiny' Elements
- Homepage: https://github.com/Swechhya/shinyanimate
- Documentation: http://cran.r-project.org/web/packages/shinyanimate/shinyanimate.pdf
- License: MIT + file LICENSE
-
Latest release: 0.4.0
published over 2 years ago
Rankings
Maintainers (1)
Dependencies
- shiny * imports