packages = c(
"shiny",
"shinydashboard",
"shinyjs",
"openssl",
"tidyverse",
"DT",
"rio",
"solvebio"
)
install_if_missing = function(p) {
if (p %in% rownames(installed.packages()) == FALSE) {
install.packages(p, dependencies = TRUE)
}
else {
cat(paste("Skipping already installed package:", p, "\n"))
}
}
invisible(sapply(packages, install_if_missing))
# Install custom version of solvebio-r (optional)
# install.packages('githubinstall', repos='http://cran.us.r-project.org')
# library(githubinstall)
# gh_install_packages('solvebio/solvebio-r', ref='master')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.