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

Issue with multiple newlines and `\r\n` #114

Closed
mgirlich opened this issue May 20, 2019 · 1 comment

Comments

@mgirlich
Copy link

commented May 20, 2019

This happens with the current version from Github

vroom::vroom("a,b\nm,\n\n", delim = ",")
#> Observations: 2
#> Variables: 2
#> chr [1]: a
#> lgl [1]: b
#> 
#> Call `spec()` for a copy-pastable column specification
#> Specify the column types with `col_types` to quiet this message
#> # A tibble: 2 x 2
#>   a     b    
#>   <chr> <lgl>
#> 1 m     NA   
#> 2 <NA>  NA
vroom::vroom("a,b\r\nm,\r\n\r\n", delim = ",")
#> Error in vroom_(file, delim = delim, col_names = col_names, col_types = col_types, : R character strings are limited to 2^31-1 bytes

Created on 2019-05-20 by the reprex package (v0.3.0)

@jimhester

This comment has been minimized.

Copy link
Member

commented May 20, 2019

What do you expect to happen with the second input? A row of all NAs? That is what happens in the first case, so I suppose it should be the same.

@jimhester jimhester closed this in d3f54d6 May 20, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.