https://github.com/lyndametref/RBoilerplateShinyAppPackage
Boilerplate for a packaged shiny app
https://github.com/lyndametref/RBoilerplateShinyAppPackage
Last synced: 3 months ago
JSON representation
Boilerplate for a packaged shiny app
- Host: GitHub
- URL: https://github.com/lyndametref/RBoilerplateShinyAppPackage
- Owner: lyndametref
- Created: 2018-05-31T19:18:40.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-06-01T08:39:48.000Z (over 6 years ago)
- Last Synced: 2024-08-13T07:15:10.913Z (6 months ago)
- Language: R
- Size: 4.88 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - lyndametref/RBoilerplateShinyAppPackage - Boilerplate for a packaged shiny app (R)
README
# RBoilerplateShinyAppPackage
Boilerplate project to create a packaged Shinny App, including a package
compatible file structure and an R-Studio Project configured for the build.## Build and Install
- Generate documentation: Build > Document (Ctrl Shift D)
- Install and restart R session: Build > Install and Restart (Ctrl Shift B)
- Start App:
```
library(RBoilerplateShinyAppPackage) # Automatically done by previous step
launch()
```## Some Notes
- By default the app will run on port 8888, `launch(xxxx)` will change the port
to xxxx.
- Build Source Package will save the tar.gz file in the parent folder
- the following error mean probably that the specified port is not available
```
Error in startServer(host, port, handlerManager$createHttpuvApp()) :
Failed to create server
```## References
https://deanattali.com/2015/04/21/r-package-shiny-app/
Template app was provided by RStudio new Shiny App Wizard: http://shiny.rstudio.com/