Skip to content

Commit 78d4b7a

Browse files
yutannihilationhadley
authored andcommitted
fix a typo in NEWS.md (#2661)
* fix a typo in NEWS.md * improve the descriptions about quo_name() and quo_text()
1 parent cad9633 commit 78d4b7a

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

NEWS.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,11 @@ To be released as 2.3.0
1818
constants (like `aes(x = 1)` or `aes(colour = "smoothed")`) are stored
1919
as is.
2020

21-
In this version of ggplot2, you need to describe a mapping in a string,
22-
use `quo_name()` (for shorter labels) or `quo_text()` (if you want
23-
everything). If you do need to extract the value of a variable instead use
24-
`rlang::eval_tidy()`. You may want to condition on
21+
In this version of ggplot2, if you need to describe a mapping in a string,
22+
use `quo_name()` (to generate single-line strings; longer expressions may
23+
be abbreviated) or `quo_text()` (to generate non-abbreviated strings that
24+
may span multiple lines). If you do need to extract the value of a variable
25+
instead use `rlang::eval_tidy()`. You may want to condition on
2526
`(packageVersion("ggplot2") <= "2.2.1")` so that your code can work with
2627
both released and development versions of ggplot2.
2728

0 commit comments

Comments
 (0)