Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 1 KB

README.md

File metadata and controls

32 lines (21 loc) · 1 KB

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()