-
Notifications
You must be signed in to change notification settings - Fork 1
/
examples.Rmd
51 lines (38 loc) · 1.48 KB
/
examples.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
---
title: "Example reports"
output: rmarkdown::html_vignette
vignette: >
%\VignetteIndexEntry{Example reports}
%\VignetteEngine{knitr::rmarkdown}
%\VignetteEncoding{UTF-8}
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>"
)
```
# HTML
HTML reports contain interactive features such as a table of contents, map,
figures, and a downloadable spreadsheet. These reports are "self-contained" and
embed all dependencies in the HTML file. As a result, the file size can be quite
large.
These reports can be distributed with cloud storage (Google Drive, Box.com,
Dropbox.com, etc.). Report recipients must download the `.html` file to their
computer and then open the file in their web browser.
Open this report in a [new
tab](https://soils-example-html.netlify.app/){target="_blank"}.
```{r echo=FALSE, out.width="100%"}
knitr::include_url(
"https://soils-example-html.netlify.app/", height = "500px")
```
# MS Word
This example report was rendered to a `.docx` file and then converted to a PDF
for web publishing.
Open this report in a [new
tab](https://drive.google.com/file/d/15M0HfRbyjUxdkMPib71NdfBB5yKWgVfW/preview){target="_blank"}.
<object style="width:100%;height:500px" data="https://drive.google.com/file/d/15M0HfRbyjUxdkMPib71NdfBB5yKWgVfW/preview">
<p>Oops! Your browser doesn't seem to support embedded PDFs.</p>
<p><a href="https://drive.google.com/file/d/15M0HfRbyjUxdkMPib71NdfBB5yKWgVfW/preview">Try
downloading it instead.</a></p>
</object>