-
Notifications
You must be signed in to change notification settings - Fork 4
/
appendix-c-conventions.Rmd
43 lines (35 loc) · 1.06 KB
/
appendix-c-conventions.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
# Conventions
This book will use the following conventions:
* Generic code: `list(number = 1, letter = "A")`
* Highlighted code: `r hl(list(number = 1, letter = "A"))`
* File paths: `r path("data/sales.csv")`
* R Packages: `r pkg("tidyverse")`
* Functions: `r hl(paste())`
* Strings: `r hl("Lisa")`, `r hl("Dale")`
* Numbers: `r hl(100)`, `r hl(3.14)`
* Logical values: `r hl(TRUE)`, `r hl(FALSE)`
* Glossary items: `r glossary("ordinal")`
* Citations: @R-tidyverse
* Internal links: Chapter\ \@ref(intro)
* External links: [Mastering Shiny](https://mastering-shiny.org/){target="_blank"}
* Menu/interface options: **`New File...`**
* Quiz question: I am going to learn a lot: `r torf(TRUE)`
```{block, webex.hide="Hidden Solutions"}
You found it!
```
::: {.info data-latex=""}
Informational asides.
:::
::: {.warning data-latex=""}
Notes to warn you about something.
:::
::: {.dangerous data-latex=""}
Notes about things that could cause serious errors.
:::
::: {.try data-latex=""}
Try it yourself.
:::
```{r}
# code chunks
paste("Reproducible ", "Research", 1, sep = " ")
```