Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 11 days ago
JSON representation
🔪Good-looking problems: customise your Shiny disconnected screen and error messages
- Host: GitHub
- URL: https://github.com/johncoene/sever
- Owner: JohnCoene
- License: other
- Created: 2020-02-09T12:40:46.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-03-17T00:28:53.000Z (8 months ago)
- Last Synced: 2024-10-15T00:51:46.523Z (23 days ago)
- Topics: r, rstats, shiny
- Language: R
- Homepage: https://sever.john-coene.com
- Size: 17.1 MB
- Stars: 78
- Watchers: 3
- Forks: 5
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Funding: FUNDING.yml
- License: LICENSE
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")
```