Good idea or bad idea for YAML metadata?
---
title: "My report"
author: "Tristan Mahr"
output: html_document
params:
knitr_chunks: !r
knitr::opts_chunk$set(comment = "#>",
collapse = TRUE,
fig.align = "center")
knitr_knit: !r
knitr::opts_knit$set(root.dir = "../")
---
Of course I can. No reason not to either. Eventually, somehow, I'd like to use the same knitr options in several related documents, and factoring out the options into a single definition, using a yaml block, seems like the best route to that.