Debian Codegraph @

tests/testthat/resources/rmarkdown.Rmd

raw
1 ---
2 title: "Untitled"
3 author: "RStudio"
4 output:
5 html_document:
6 template: "template.html"
7 css: empty.css
8 includes:
9 before_body: empty.md
10 pandoc_args: [
11 "--title-prefix", "empty.png"
12 ]
13 resource_files:
14 - empty.tsv
15 ---
16
17 This document tests R Markdown resource discovery for the following content
18 types:
19
20 - Body includes
21 - Pandoc arguments
22 - Rendered/raw HTML
23 - knitr child documents
24 - Markdown file references
25 - Manually specified resources
26
27 ![One pixel](empty.jpg)
28
29 <iframe src="empty.html" />
30
31
32 ```{r, child = "empty.Rmd"}
33 ```
34
35 ```{r, echo=FALSE}
36 read.csv(file = "empty.csv")
37 ```
38