This is a repository for deploying the GenEst app on shinyapps.io.
The following instructions assume that you have already created a shinyapps.io account and have configured rsconnect to work with your account.
- Download of the suite of dependency packages:
packages <- c("cbinom", "devtools", "digest", "DT", "gsl", "gtools",
"htmltools", "lubridate", "matrixStats", "mvtnorm", "Rcpp",
"rsconnect", "shiny", "sticky", "survival")
packages <- package_new[!(packages %in% installed.packages()[,"Package"])]
if(length(packages) > 0){
install.packages(packages)
}
- Download the newest version of GenEst from GitHub:
devtools::install_github("ddalthorp/genest")
-
Clone this repository to your local machine, and set the working directory to the
/GenEst
folder within the repository's location on your local machine. -
Test that the app can build locally:
shiny::runApp()
- Deploy to shinyapps.io:
rsconnect::deployApp()