assertr icon indicating copy to clipboard operation
assertr copied to clipboard

assert() description argument not printing when assertion fails

Open heiku-jiqu opened this issue 4 years ago • 0 comments

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.")

heiku-jiqu avatar Jun 10 '21 08:06 heiku-jiqu