You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since version 2.0.0 the na parameter is ignored entirely for read_tsv.
Input test.csv:
A,B,C
:,k,l
m,:,n
Command: readr::read_csv('test.csv', na = c(":"))
Output (as expected):
Rows: 2 Columns: 3
── Column specification ────────────────────────────────────────────────────────────────────────────────────────────────
Delimiter: ","
chr (3): A, B, C
ℹ Use `spec()` to retrieve the full column specification for this data.
ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.
# A tibble: 2 x 3
A B C
<chr> <chr> <chr>
1 NA k l
2 m NA n
On the other hand
Input test.tsv:
A B C
: k l
m : n
Command: readr::read_tsv('test.tsv', na = c(":"))
Output (no NA replacements):
Rows: 2 Columns: 3
── Column specification ────────────────────────────────────────────────────────────────────────────────────────────────
Delimiter: "\t"
chr (3): A, B, C
ℹ Use `spec()` to retrieve the full column specification for this data.
ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.
# A tibble: 2 x 3
A B C
<chr> <chr> <chr>
1 : k l
2 m : n
The text was updated successfully, but these errors were encountered:
Since version 2.0.0 the
na
parameter is ignored entirely forread_tsv
.Input
test.csv
:Command:
readr::read_csv('test.csv', na = c(":"))
Output (as expected):
On the other hand
Input
test.tsv
:Command:
readr::read_tsv('test.tsv', na = c(":"))
Output (no NA replacements):
The text was updated successfully, but these errors were encountered: