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

read_csv adds extra rows if headers contain quoted newlines #784

Closed
matthewarbo opened this Issue Jan 27, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@matthewarbo

matthewarbo commented Jan 27, 2018

If a header in a csv contains quoted newlines, extra rows appear which contain part of the headers:

test1 <- "\"Header\nLine Two\"\nValue"
cat(test1)
#> "Header
#> Line Two"
#> Value
readr::read_csv(test1)
#> # A tibble: 2 x 1
#>   `Header\nLine Two`
#>   <chr>             
#> 1 "Line Two\""      
#> 2 Value

@jimhester jimhester added the bug label May 4, 2018

@jimhester jimhester closed this in dc94450 Nov 14, 2018

@jimhester

This comment has been minimized.

Member

jimhester commented Nov 14, 2018

Thanks, should now be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment