A The First Appendix

This first appendix includes all of the R chunks of code that were hidden throughout the document (using the include = FALSE chunk tag) to help with readability and/or setup.

In the main Rmd file

# By default tinytex only compiles once; compiling multiple
# times is necessary to ensure the List of Figures and List of Tables
# page numbers are correct if listed in the Table of Contents
options(tinytex.compile.min_times = 3)

# This chunk ensures that the gaelsdown package is
# installed and loaded. This gaelsdown package includes
# the template files for the thesis.
if(!require(devtools))
  install.packages("devtools", repos = "http://cran.rstudio.com")
if(!require(gaelsdown))
  devtools::install_github("eugenesit/gaelsdown")
library(gaelsdown)

In Chapter ??: