1.1 Dependencies for this book

To build this book on your own system, you will need to install the following packages from CRAN:

Name Title
pryr Tools for Computing on the Language
ggplot2 An Implementation of the Grammar of Graphics
fortunes R Fortunes
devtools Tools to Make Developing R Packages Easier
drat Drat R Archive Template
rbenchmark Benchmarking routine for R
microbenchmark Accurate Timing Functions
DiagrammeR Create Graph Diagrams and Flowcharts Using R
tidyr Easily Tidy Data with spread() and gather() Functions
data.table Extension of Data.frame
readr Read Tabular Data
dplyr A Grammar of Data Manipulation
knitr A General-Purpose Package for Dynamic Report Generation in R

GitHub packages to install.

gh_pkgs = c("csgillespie/efficient_pkg", "rstudio/bookdown", "csgillespie/benchmarkme")
devtools::install_github(gh_pkgs)

Then run the command

## For html
bookdown::render_book("index.Rmd", output_format = bookdown::html_chapters())
## For pdf
bookdown::render_book("index.Rmd", output_format = bookdown::pdf_book())