Need help with waiter?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

JohnCoene
343 Stars 19 Forks Other 373 Commits 13 Opened issues

Description

🕰️ Loading screens for Shiny

Services available

!
?

Need anything else?

Contributors list

# 39,775
R
Three.j...
htmlwid...
ncov
339 commits
# 592,861
CSS
R
shiny
10 commits
# 599,764
CSS
R
shiny
3 commits
# 312,468
R
TeX
rna-seq
snakema...
2 commits
# 72,718
R
travis-...
Twitter
palette...
1 commit
# 556
HTML
R
jekyll-...
Jekyll
1 commit

Loading screens for Shiny

Travis build
status R-CMD-check CircleCI build
status CRAN
status

Website | Demo | Get Started | Cheat Sheet

The waiter lets you programmatically show and hide partial or full page loading screens with spinners or loading bars to keep your users patiently waiting as you load or compute fancy things.

| Feature | Waiter | Waitress | Hostess | | :---------------: | :------------------------: | :------------------------: | :------------------------: | | Progress Bar | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | | Full Screen | :heavy_check_mark: | :heavy_check_mark: | :heavy_multiplication_x: | | Works with waiter | :heavy_check_mark: | :heavy_multiplication_x: | :heavy_check_mark: | | Spinner | :heavy_check_mark: | :heavy_multiplication_x: | :heavy_multiplication_x: | | Updatable | :heavy_check_mark: | :heavy_multiplication_x: | :heavy_multiplication_x: | | Notifications | :heavy_multiplication_x: | :heavy_check_mark: | :heavy_multiplication_x: |

Examples

Below are simple examples of applications that use the package, consult the website for more.

Waiter

To use the waiter:

  1. Include
    use_waiter
    in your UI.
  2. Trigger
    waiter_show
    to show the waiting screen.
  3. Eventually trigger
    waiter_hide
    to hide the loading screen.
library(shiny)
library(waiter)

ui 

The waiter includes more options to customise the spinner, the background, show the waiter on load, etc.

Waitress

To use the waitress:

  1. Include
    use_waitress
    in your UI.
  2. Initialise a waitress from the
    Waitress
    object with the
    new
    method.
  3. You must then call the
    start
    .
  4. On the waitress object use the
    increase
    method to increase the progress bar.
  5. Use the
    hide
    method when done.
library(shiny)
library(waiter)

ui 

There are more options to the waitress, you can have it overlay any element (such as the navbar), automagically increment it, etc.

Get it

You can install waiter from CRAN.

install.packages("waiter")

Or the development version from Github with:

install.packages("remotes")
remotes::install_github("JohnCoene/waiter")

Please note that the ‘waiter’ project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.