This is a subdirectory 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.
packages <- c("cbinom", "corpus", "devtools", "DT", "gsl", "gtools",
"htmltools", "lubridate", "matrixStats", "mvtnorm", "Rcpp",
"rsconnect", "shiny", "shinyjs", "sticky", "survival")
packages <- package_new[!(packages %in% installed.packages()[,"Package"])]
if(length(packages) > 0){
install.packages(packages)
}
devtools::install_github("ddalthorp/genest")
Open R
Set the working directory to the /deployment/GenEst
folder within the
repository's location on your local machine.
Test that the app can build locally:
shiny::runApp()
rsconnect::deployApp()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.