The PREP package allows users to create shells for R Packages and Shiny applications with minimal configuration. By expanding upon many useful resources dedicated to this topic, PREP is designed to be both accessible to new users and highly customizable by expert users.
For example, the code below creates a an R package containing a Shiny Application and then opens it in a new R session.
remotes::install_github("BioPharmSoftGrp/PREP")
library(PREP)
PREP::CreateApp(strName="MyNewApp")
usethis::proj_activate("myNewApp")
In the new session, the package can be built with usethis::build()
and then the app can be run with RunApp()
. Similar workflows for creating standalone shiny apps and standard R packages are described in the getting started vignette.
While creating an project with PREP is simple, there are several advanced features that help to streamline the Shiny development lifecycle in complex projects.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.