tidyverse / tibble

A modern re-imagining of the data frame
https://tibble.tidyverse.org/
Other
671 stars 130 forks source link

Should `tibble()` wrap errors? #1599

Open hadley opened 1 month ago

hadley commented 1 month ago

I think it would be nice if this:

tibble::tibble(x = stop("!"))
#> Error in eval_tidy(xs[[j]], mask): !

Looked like this?

tibble::tibble(x = stop("!"))
#> Error in tibble():
#> Failed to evaluate column `x`
#> Caused by error:
#> !