assertr
assertr copied to clipboard
assert() description argument not printing when assertion fails
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.")