Skip to content

Warning mentions vroom() instead of read_csv() #1477

Open
@presnell

Description

@presnell

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()))

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behaviorread 📖

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions