knitr::opts_chunk$set(
  collapse = TRUE,
  warning = FALSE,
  message = FALSE,
  echo = FALSE,
  comment = "#>",
  fig.path = "../figures/",
  dpi = 300
)

Introduction

Here is a citation [@Marwick2017]

Background

Methods

Results

# Note the path that we need to use to access our data files when rendering this document
my_data <- read.csv(here::here('analysis/data/raw_data/my_csv_file.csv'))
plot(rnorm(10))

Figure \@ref(fig:demo-plot) shows how we can have a caption and cross-reference for a plot

x <- round(pi, 2)

Here is an example of inline code r x in the middle of a sentence.

Discussion

Conclusion

Acknowledgements

\newpage

References

\newpage

Colophon

This report was generated on r Sys.time() using the following computational environment and dependencies:

# which R packages and versions?
if ("devtools" %in% installed.packages()) devtools::session_info()

The current Git commit details are:

# what commit is this file at? 
if ("git2r" %in% installed.packages() & git2r::in_repository(path = ".")) git2r::repository(here::here())  


replisims/peters-2016 documentation built on Aug. 6, 2020, 12:15 a.m.