readr icon indicating copy to clipboard operation
readr copied to clipboard

Warning mentions `vroom()` instead of `read_csv()`

Open presnell opened this issue 2 years ago • 1 comments

Unless I explained it to them beforehand, I suspect that my students might be confused by the warning produced by the code chunk below (taken directly from section 8.3.2 of r4ds2e). Isn't the appearance of vroom(dat) a surprise, given that the innocent user of readr::read_csv() has probably never heard of vroom?

csv <- "
  x
  10
  .
  20
  30"
df <- read_csv(csv, col_types = list(x = col_double()))

presnell avatar Mar 02 '23 21:03 presnell