README.md

R build status

Packages fRom tEmPlates (PREP)

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.

Creating Apps

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.

Advanced Use

While creating an project with PREP is simple, there are several advanced features that help to streamline the Shiny development lifecycle in complex projects.



BioPharmSoftGrp/BaSS documentation built on April 2, 2021, 2:34 a.m.