Grrr, purrr aliasing strikes again

This commit is contained in:
hadley 2016-07-24 15:21:32 -05:00
parent e3730d1350
commit 3836b6b352
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ That's all there is to the for loop! Now is a good time to practice creating som
1. Eliminate the for loop in each of the following examples by taking 1. Eliminate the for loop in each of the following examples by taking
advantage of a built-in function that works with vectors: advantage of a built-in function that works with vectors:
```{r} ```{r, eval = FALSE}
out <- "" out <- ""
for (x in letters) { for (x in letters) {
out <- stringr::str_c(out, x) out <- stringr::str_c(out, x)