This is the R-script I used following the link given above:
library(assertthat)
library(dplyr)
library(hflights)
library(Lahman)
library(magrittr)
library(LGPL)
install.packages("src/BH_1.55.0-3.zip", lib = ".", repos = NULL, verbose = TRUE)
success <- library("BH ", lib.loc=".", logical.return = TRUE, verbose=TRUE)
library(BH)
install.packages("src/Boom_0.1.zip", lib = ".", repos = NULL, verbose = TRUE)
success <- library("Boom ", lib.loc=".", logical.return = TRUE, verbose=TRUE)
install.packages("src/BoomSpikeSlab.zip", lib = ".", repos = NULL, verbose = TRUE)
success <- library("BoomSpikeSlab", lib.loc=".", logical.return = TRUE, verbose=TRUE)
install.packages("src/bsts_0.5.1.zip", lib = ".", repos = NULL, verbose = TRUE)
success <- library("bsts", lib.loc=".", logical.return = TRUE, verbose=TRUE)
library(zoo)
library(xts)
install.packages("src/CausalImpact.zip", lib = ".", repos = NULL, verbose = TRUE)
success <- library("CausalImpact", lib.loc=".", logical.return = TRUE, verbose=TRUE)