Skip to content

Lightweight package to manage Shiny Server apps with app.yaml

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

ficonsulting/directoryr

Repository files navigation

directoryr

Travis build status Coverage status lifecycle

Lightweight package to manage Shiny Server with app.yaml and simplify continuous integration pipelines.

Create /srv/shiny-server/app.yaml

testpkg:
 - App1
 - App2
sabbatical:
 - app
extrapkg:
  shiny-apps:
   - App1
   - App2

Run build_dirs()

In R:

directoryr::build_dirs()

In Travis CI:

- Rscript -e 'directoryr::build_dirs()'

build_dirs() creates directories based on app.yaml and creates an app.R file for each app:

app.R

shiny::shinyAppDir(system.file(package = "sabbatical", "app"))

If you install the sabbatical package on the server, this will launch the app from the sabbatical package on Shiny Server.

build_dirs() also cleans up after itself. So if you edit app.yaml, it will remove unused directories as well.

Contributor Code of Conduct

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

About

Lightweight package to manage Shiny Server apps with app.yaml

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages