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

assert() description argument not printing when assertion fails #112

Closed
heiku-jiqu opened this issue Jun 10, 2021 · 0 comments · Fixed by #132
Closed

assert() description argument not printing when assertion fails #112

heiku-jiqu opened this issue Jun 10, 2021 · 0 comments · Fixed by #132

Comments

@heiku-jiqu
Copy link

Hello,

When assertion fails using assert(), the description argument is not printed. I was expecting it to print out the description along with the error data frame. This seems to work when using verify().

Example:
tibble(abc = c(123,99)) %>% assert(function(x) x < 100, abc, description="Useful description here.")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant