assertthat icon indicating copy to clipboard operation
assertthat copied to clipboard

Feature request : enable `cli` formatted message in assert_that

Open yli110-stat697 opened this issue 2 years ago • 0 comments

Hi,

We recently started to use cli package to format message/warning/error in our R package development work. To keep things consistent, we would want to format the message in assert_that(). Currently we have to replace all the assert_that() with if-else statement if we want to add formatting to the output message. It would be very nice if assertthat package can support styling message output too.

yli110-stat697 avatar Oct 06 '23 16:10 yli110-stat697