Changed branch designator from master->main (#994)

This commit is contained in:
Tim Becker 2022-04-13 16:22:05 +02:00 committed by GitHub
parent f82fe7f417
commit 188898faa5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@ bookdown::gitbook:
before: |
<li><strong><a href="./">R for Data Science</a></strong></li>
edit:
link: https://github.com/hadley/r4ds/edit/master/%s
link: https://github.com/hadley/r4ds/edit/main/%s
text: "Edit"
sharing: no
css: r4ds.css

View File

@ -128,7 +128,7 @@ If you forget, you can get to a handy reference sheet with *Help \> Markdown Qui
b. Add a horizontal rule.
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.
## Code chunks
@ -343,7 +343,7 @@ comma(.12358124331)
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.
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.
3. Modify `diamonds-sizes.Rmd` to use `comma()` to produce nicely formatted output.