---
title: "Example Report"
author: "Joe Bloggs"
params:
  graph: TRUE
output:
  html_document: default
---


```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE, collapse = TRUE, fig.width = 8, fig.height = 6, dpi = 70)
```

```{r, eval = FALSE}
base::mean(c(1,2))
```

This is an example report to illustrate how `reportfactory` can be used.
It loads the `fs` library purely for demonstration purposes. 

```{r, echo = FALSE, message = FALSE}
library(fs)
if (params$graph) {
  plot(1:10, 1:10)
} else {
  "No plot here"
}

```


