Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/JohnCoene/sever

🔪Good-looking problems: customise your Shiny disconnected screen and error messages
https://github.com/JohnCoene/sever

r rstats shiny

Last synced: 27 days ago
JSON representation

🔪Good-looking problems: customise your Shiny disconnected screen and error messages

Awesome Lists containing this project

README

        

[![R-CMD-check](https://github.com/JohnCoene/sever/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/JohnCoene/sever/actions/workflows/R-CMD-check.yaml)

Good-looking problems: customise your Shiny disconnected screen and error messages.

[Docs](https://sever.john-coene.com) | [Get Started](https://sever.john-coene.com/sever/)

## Usage

Include dependencies with `useSever` then use the `sever` function to customise the screen, launch the app and stop the server to see the customised screen.

``` r
library(shiny)
library(sever)

ui <- fluidPage(
useSever(), # import dependencies
h1("sever")
)

server <- function(input, output){
sever() # customise
}

shinyApp(ui, server)
```

![](https://sever.john-coene.com/img/sever_example.png)

## Get it

Get it from CRAN with:

``` r
install.packages("sever")
```

Install it from Github with:

``` r
# install.packages("remotes")
remotes::install_github("JohnCoene/sever")
```