Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should incompatible factor / ordered factor type errors show level differences? #1859

Open
DavisVaughan opened this issue Jul 17, 2023 · 0 comments
Labels
feature a feature request or enhancement type:factor

Comments

@DavisVaughan
Copy link
Member

i.e. tidyverse/dplyr#6852

It might be kind of nice if we could add a details bullet with something like:

i Levels in `x` that are missing from `y`: NA
i Levels in `y` that are missing from `x`: "foo"

Somewhat inspired by the reporting done by the new expect_contains() and expect_in() testthat functions r-lib/testthat#1817

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a feature request or enhancement type:factor
Projects
None yet
Development

No branches or pull requests

1 participant