readr icon indicating copy to clipboard operation
readr copied to clipboard

Read flat files (csv, tsv, fwf) into R

Results 135 readr issues
Sort by recently updated
recently updated
newest added

If strings contain non-breaking spaces (ASCII code 160), the argument `trim_ws = TRUE` in `read_csv()` (or `read_delim()`) does not work. This was unexpected to me, as `str_trim()` from `stringr` from...

Please briefly describe your problem and what output you expect. If you have a question, please don't use this form. Instead, ask on or . Please include a minimal reproducible...

With readr::read_delim, there is a case where it failed to detect a numeric column if it contains many NAs. 1. For https://www.dropbox.com/scl/fi/tnsj9vfcaryb7l9cq0eq1/can_load_numeric.csv, it is detected as numeric properly even if...

Hello, When `col_select()` is active, the `problems()` is empty while presence of a warning is correctly displayed. The following reprex shows the first column `A` contains a faulty character `a`...

Why does these values get converted into numeric when using `readr::type_convert` ? I would expect them to stay characters. ``` x

It does not handle high dimensional data efficiently. Columns are genes and rows are hospital patients. In Linux or MacOS, ``` wget https://figshare.com/ndownloader/files/47361049 ``` Then, in R, ```r > library(readr)...

The `write_*()` family of functions currently do not error when the data contains a list column (#938). Trying to write a matrix column however does still give the expected error....

Guidance in #1472 is to read heterogenous data with `purrr::map()`. However, with at least some datasets, this approach either blocks vroom's mechanisms for reporting parsing issues or results in spurious...

Survey responses are often encoded both as a number (0,1,2,3) and as a response string (None, mild, moderate, severe). Data mishaps often occur when people analyzing the data mix up...

Feature request, for example in read_csv to have all columns that start with "abc" be interpreted as col_factor(). Right now I do it after import with mutate/across. I'm not sure...