Changed branch designator from master->main (#994)
This commit is contained in:
parent
f82fe7f417
commit
188898faa5
|
@ -14,7 +14,7 @@ bookdown::gitbook:
|
||||||
before: |
|
before: |
|
||||||
<li><strong><a href="./">R for Data Science</a></strong></li>
|
<li><strong><a href="./">R for Data Science</a></strong></li>
|
||||||
edit:
|
edit:
|
||||||
link: https://github.com/hadley/r4ds/edit/master/%s
|
link: https://github.com/hadley/r4ds/edit/main/%s
|
||||||
text: "Edit"
|
text: "Edit"
|
||||||
sharing: no
|
sharing: no
|
||||||
css: r4ds.css
|
css: r4ds.css
|
||||||
|
|
|
@ -128,7 +128,7 @@ If you forget, you can get to a handy reference sheet with *Help \> Markdown Qui
|
||||||
b. Add a horizontal rule.
|
b. Add a horizontal rule.
|
||||||
c. Add a block quote.
|
c. Add a block quote.
|
||||||
|
|
||||||
3. Copy and paste the contents of `diamond-sizes.Rmd` from <https://github.com/hadley/r4ds/tree/master/rmarkdown> in to a local R Markdown document.
|
3. Copy and paste the contents of `diamond-sizes.Rmd` from <https://github.com/hadley/r4ds/tree/main/rmarkdown> in to a local R Markdown document.
|
||||||
Check that you can run it, then add text after the frequency polygon that describes its most striking features.
|
Check that you can run it, then add text after the frequency polygon that describes its most striking features.
|
||||||
|
|
||||||
## Code chunks
|
## Code chunks
|
||||||
|
@ -343,7 +343,7 @@ comma(.12358124331)
|
||||||
1. Add a section that explores how diamond sizes vary by cut, colour, and clarity.
|
1. Add a section that explores how diamond sizes vary by cut, colour, and clarity.
|
||||||
Assume you're writing a report for someone who doesn't know R, and instead of setting `echo = FALSE` on each chunk, set a global option.
|
Assume you're writing a report for someone who doesn't know R, and instead of setting `echo = FALSE` on each chunk, set a global option.
|
||||||
|
|
||||||
2. Download `diamond-sizes.Rmd` from <https://github.com/hadley/r4ds/tree/master/rmarkdown>.
|
2. Download `diamond-sizes.Rmd` from <https://github.com/hadley/r4ds/tree/main/rmarkdown>.
|
||||||
Add a section that describes the largest 20 diamonds, including a table that displays their most important attributes.
|
Add a section that describes the largest 20 diamonds, including a table that displays their most important attributes.
|
||||||
|
|
||||||
3. Modify `diamonds-sizes.Rmd` to use `comma()` to produce nicely formatted output.
|
3. Modify `diamonds-sizes.Rmd` to use `comma()` to produce nicely formatted output.
|
||||||
|
|
Loading…
Reference in New Issue