Science Score: 10.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
○codemeta.json file
-
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
2 of 3 committers (66.7%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (8.0%) to scientific vocabulary
Keywords
Repository
🖥️ Off-canvas elements for Shiny
Basic Info
- Host: GitHub
- Owner: JohnCoene
- License: other
- Language: R
- Default Branch: master
- Homepage: https://shiny.john-coene.com/pushbar/
- Size: 198 KB
Statistics
- Stars: 59
- Watchers: 4
- Forks: 2
- Open Issues: 1
- Releases: 0
Topics
Metadata Files
README.md

pushbar
See bsutils for a Bootstrap 5 built-in.
Brings pushbar.js to Shiny; create off-canvas sliders for inputs, outputs or any other content.
Installation
Install the stable version (recommended) from CRAN:
r
install.packages("pushbar")
Install the development version with remotes
``` r
install.packages("remotes")
remotes::install_github("JohnCoene/pushbar") ```
How to use
- Include
pushbar_depsanywhere in your ui. - Include
setup_pushbarat the top of your server function, it'll also let you determine whether to useblurandoverlaywhen pushbars are opened. - Use
pushbarin your ui to include content in pushbars. - Use
pushbar_openandpushbar_closeto programatically (server-side) open and close the pushbars.
Also includes an event (see example) to capture whether a pushbar is opened (input$pushbarID_pushbar_opened).
Example
``` r library(shiny) library(pushbar)
ui <- fluidPage( pushbar_deps(), br(), actionButton("open", "Open pushbar"), pushbar( h4("HELLO"), id = "myPushbar", # add id to get event actionButton("close", "Close pushbar") ), fluidRow( column(5), column(5, span("Is a pushbar opened?"), verbatimTextOutput("ev")) ) )
server <- function(input, output, session){
setup_pushbar() # setup
observeEvent(input$open, { pushbar_open(id = "myPushbar") })
observeEvent(input$close, { pushbar_close() })
output$ev <- renderPrint({ input$myPushbarpushbaropened }) }
if(interactive()) shinyApp(ui, server) ```

Owner
- Name: John Coene
- Login: JohnCoene
- Kind: user
- Location: Switzerland
- Company: @devOpifex
- Website: john-coene.com
- Twitter: jdatap
- Repositories: 174
- Profile: https://github.com/JohnCoene
R, Go, JavaScript, and other indoor stuff.
GitHub Events
Total
Last Year
Committers
Last synced: over 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| John Coene | j****p@g****m | 36 |
| lz | l****0@u****u | 2 |
| Shawn Lin | x****n@c****u | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 9 months ago
All Time
- Total issues: 2
- Total pull requests: 2
- Average time to close issues: about 9 hours
- Average time to close pull requests: about 9 hours
- Total issue authors: 2
- Total pull request authors: 2
- Average comments per issue: 1.5
- Average comments per pull request: 0.5
- Merged pull requests: 2
- 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
- etiennebacher (1)
- lz100 (1)
Pull Request Authors
- shawnlinxl (1)
- lz100 (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 252 last-month
- Total docker downloads: 15
- Total dependent packages: 0
- Total dependent repositories: 3
- Total versions: 1
- Total maintainers: 1
cran.r-project.org: pushbar
Create Sliders for 'Shiny'
- Homepage: https://github.com/JohnCoene/pushbar
- Documentation: http://cran.r-project.org/web/packages/pushbar/pushbar.pdf
- License: MIT + file LICENSE
-
Latest release: 0.1.0
published about 7 years ago
Rankings
Maintainers (1)
Dependencies
- jsonlite * imports
- shiny * imports