### config.R ---
## Filename: config.R
## Description: Make sure packages are installed and whatnot
## Author: Noah Peart
## Created: Fri Oct 23 06:00:03 2015 (-0400)
## Last-Updated: Wed Dec 30 17:22:20 2015 (-0500)
## By: Noah Peart
######################################################################
source("utils.R")
## Special package notes:
## Versions off github:
## - leaflet for mark labels/awesomeMarkers among other things
gihubs <- c('rstudio/leaflet')
required_packages <- findPacks(dirs="../", recursive = FALSE)
missed <- !(required_packages %in% rownames(installed.packages()))
if (any(missed))
install.packages(required_packages[missed], dependencies = TRUE)
## Need to ensure data is available from github,
## Rscript is in the path
## and write a batch file to do all of this
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.