title: Dynamic RMarkdown Title from R Code Chunk
body: <p>Consider the following .Rmd file:</p>
  
  <pre><code>---
  author: "Test"
  date: "September 27, 2018"
  output: html_document
  ---
  
  ```{r setup, include=FALSE}
  days &lt;- 60
  title &lt;- paste0(days, " Days")
  ```
  </code></pre>
  
  <p>The output of <code>title</code> above, namely <code>"60 Days"</code>, without quotes is the title I would like to have outputted into the .html file (which would originally be under <code>title:</code> in the above if it were hard-coded).</p>
  
  <p>Is this possible?</p>