Skip to content

Conversation

@austin3dickey
Copy link
Contributor

Fixes #203.

With the NA logic fix to str_trunc 2 months ago, "&&" was used instead of "&", causing str_trunc to only work on the first element of the vector.

I added a test as well, but nothing in the NEWS since this change wasn't ever released.

@hadley
Copy link
Member

hadley commented May 8, 2018

Can you please add a bullet to NEWS? It should briefly describe the change (starting with name of the function), and crediting yourself with (@yourname, #issuenumber).

@hadley
Copy link
Member

hadley commented May 8, 2018

Actually, I'll add the news.

@hadley hadley merged commit bba4040 into tidyverse:master May 8, 2018
hadley added a commit that referenced this pull request May 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unexpected behavior of str_trunc

2 participants