I'm trying to use the setspace package in my rmarkdown file to increase line spacing. My YAML is as follows:
title: "assignment2"
geometry: margin= 2cm
header-includes:
- \usepackage{setspace}
- \singlespacing
output: pdf_document
fontsize: 12pt
Whenever I use this and try to knit to pdf though, rmarkdown just spits out the following, produces an error, and just stops after a while.
This only occurs when I try to include the setspace package. It knits to pdf fine if take that out.