waiter

by JohnCoene

JohnCoene / waiter

🕰️ Loading screens for Shiny

268 Stars 13 Forks Last release: about 2 months ago (v0.1.3) Other 336 Commits 7 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

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
    show_waiter
    to show the waiting screen.
  3. Eventually trigger
    hide_waiter
    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.