Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix error on empty template #49

Merged
merged 1 commit into from
Feb 5, 2014
Merged

Fix error on empty template #49

merged 1 commit into from
Feb 5, 2014

Conversation

jcheng5
Copy link
Member

@jcheng5 jcheng5 commented Jan 8, 2014

One of my template files was completely empty, which caused str_trim to return logical(0), which caused an error when used in a conditional.

@hadley
Copy link
Member

hadley commented Jan 9, 2014

Thanks. Would you also mind filing a stringr bug? Str_trim should always return a string.

@hadley hadley closed this Jan 9, 2014
@jcheng5
Copy link
Member Author

jcheng5 commented Feb 5, 2014

Did you mean to close this without merging it?

@hadley hadley reopened this Feb 5, 2014
hadley added a commit that referenced this pull request Feb 5, 2014
Fix error on empty template
@hadley hadley merged commit 1efd545 into r-lib:master Feb 5, 2014
@hadley
Copy link
Member

hadley commented Feb 5, 2014

Ooops no

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.

None yet

2 participants