Skip to content

Commit

Permalink
Fix typos (#348)
Browse files Browse the repository at this point in the history
  • Loading branch information
johanneskoch94 authored Nov 1, 2023
1 parent 9fff26c commit c9fbe55
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ pak::pak("r-lib/scales")

### Breaks and labels

The most common use of the scales package is to customise to control the appearance of axis and legend labels. Use a `break_` function to control how breaks are generated from the limits, and a `label_` function to control how breaks are turned in to labels.
The most common use of the scales package is to control the appearance of axis and legend labels. Use a `break_` function to control how breaks are generated from the limits, and a `label_` function to control how breaks are turned in to labels.

```{r labels}
library(ggplot2)
Expand Down Expand Up @@ -77,7 +77,7 @@ economics %>%
)
```

Generally, I don't recommend running `library(scales)` because when you type (e.g.) `scales::label_` autocomplete will provide you with a list of labelling functions to job your memory.
Generally, I don't recommend running `library(scales)` because when you type (e.g.) `scales::label_` autocomplete will provide you with a list of labelling functions to jog your memory.

### Advanced features

Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ pak::pak("r-lib/scales")

### Breaks and labels

The most common use of the scales package is to customise to control the
appearance of axis and legend labels. Use a `break_` function to control
how breaks are generated from the limits, and a `label_` function to
control how breaks are turned in to labels.
The most common use of the scales package is to control the appearance
of axis and legend labels. Use a `break_` function to control how breaks
are generated from the limits, and a `label_` function to control how
breaks are turned in to labels.

``` r
library(ggplot2)
Expand Down Expand Up @@ -85,7 +85,7 @@ economics %>%

Generally, I don’t recommend running `library(scales)` because when you
type (e.g.) `scales::label_` autocomplete will provide you with a list
of labelling functions to job your memory.
of labelling functions to jog your memory.

### Advanced features

Expand Down

0 comments on commit c9fbe55

Please sign in to comment.