Skip to content

Commit

Permalink
Clarify comment, remove brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
Robinlovelace committed Nov 7, 2015
1 parent 34d62f5 commit 6cc8b75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion strings.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -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`)

```{r}
# (Will be fixed in R 3.3.0)
# Bug will be fixed in R 3.3.0
nchar(NA)
```

Expand Down

0 comments on commit 6cc8b75

Please sign in to comment.