Clarify comment, remove brackets
This commit is contained in:
parent
34d62f5b15
commit
6cc8b759a2
|
@ -57,7 +57,7 @@ x
|
||||||
Base R contains many functions to work with strings but we'll generally avoid them because they're inconsistent and hard to remember. Their behaviour is particularly inconsistent when it comes to missing values. For examle, `nchar()`, which gives the length of a string, returns 2 for `NA` (instead of `NA`)
|
Base R contains many functions to work with strings but we'll generally avoid them because they're inconsistent and hard to remember. Their behaviour is particularly inconsistent when it comes to missing values. For examle, `nchar()`, which gives the length of a string, returns 2 for `NA` (instead of `NA`)
|
||||||
|
|
||||||
```{r}
|
```{r}
|
||||||
# (Will be fixed in R 3.3.0)
|
# Bug will be fixed in R 3.3.0
|
||||||
nchar(NA)
|
nchar(NA)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue