-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmain.Rmd
More file actions
54 lines (41 loc) · 1.26 KB
/
main.Rmd
File metadata and controls
54 lines (41 loc) · 1.26 KB
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
52
53
54
---
title: "Inline data checking"
author:
- name: "Daniel Nüst"
affiliation: o2r team
date: "2018"
output:
html_document:
theme: null
highlight: null
mathjax: null
licenses:
code: CC-BY-3.0
data: CC-BY-3.0
text: CC-BY-3.0
---
This document demonstrates the text diff during check.
There are no images to compare, only text with *numbers* and a _quote_.
```{r numbers}
numbers <- round(runif(n = 100, max = 100), digits = 0)
set.seed(2018)
seeded_numbers <- runif(n = 100, max = 100)
```
## Random numbers
The following numbers are generated randomly: `r numbers[1]`, `r numbers[2]`, `r numbers[3]`
- `` `r numbers[30] * numbers[60]` ``
- **`r numbers[40]`**
- _`r numbers[50]`_
### `r numbers[70]` is also a number
## Seeded numbers
`r seeded_numbers[1]` and `r seeded_numbers[2]` and `r seeded_numbers[3]`!
## Wisdom
```{r words, message=FALSE, warning=FALSE, include=FALSE}
words <- rep(c("data", "information"), length.out = 100)
set.seed(numbers[numbers[42]])
```
_You can have `r words[numbers[1]]` without `r words[numbers[2]]`, but you cannot have `r words[numbers[3]]` without `r words[numbers[1]]`._
-- after Daniel Keys Moran
```{r quote, echo=FALSE, message=FALSE, warning=FALSE, results='asis'}
fortunes::fortune()
```