Warning message for "One or more parsing issues" contains difficult to follow instruction dat <- vroom(...)
#1485
Labels
reprex
needs a minimal reproducible example
There's been some awesome work on the on the warning messages for {readr}! However, I feel for inexperienced users the instructions are confusing.
The following error message is generated if vroom detects unexpected input:
For a {tidyverse} user who only has the core tidyverse loaded they're not going to be able to run
dat <- vroom(...)
as they don't have{vroom}
loaded.However, I note that the error comes from
vroom_errors.h
in the {vroom} package... so it might not be convenient to figure out if the user has {vroom} loaded or not at the point when the error is generated.https://github.com/tidyverse/vroom/blob/a7769d1f9216216cfd8fdc96fbde9360fe59b598/src/vroom_errors.h#L94
I think it is worth questioning if this is a useful instruction for inexperienced users even if it is decided this is the best error that can be generated.
The text was updated successfully, but these errors were encountered: