Skip to content
/ shiny-demo-pkg Public template

Minimal example of an R package that holds a shiny app.

License

Unknown, MIT licenses found

Licenses found

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

EpiForeSITE/shiny-demo-pkg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

R-CMD-check

shinydemo

This is a simple R package that exemplifies how to create a package for a single R shiny app. Some features included in this package are:

  • The usage of roxygen2 for documentation.
  • Using GitHub actions for checking the R package (CI).
  • Using system.file() for accessing special files in the package (the app itself).
  • Using the www/ subfolder in the shinyapp.

The function that calls app is located in R/run_my_app.R. The shinyapp is located in inst/app/.

Installation

You can install the development version of shinydemo like so:

devtools::install_github("EpiForeSITE/shiny-demo-pkg")

Example

This is a basic example which shows you how to solve a common problem:

library(shinydemo)
run_shiny_app()

About

Minimal example of an R package that holds a shiny app.

Topics

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Languages