tonyfischetti/assertr

assert() description argument not printing when assertion fails

heiku-jiqu opened this issue · 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.")