You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not sure why you expected that. cat() prints the text and returns NULL before cli::cli_alert_danger() is even called. So I am not sure how cli_alert_danger() could do anything differently here.
Okay, I probably just don't really understand what cat() does. I'm getting my intended output by replacing it with paste().
Anyway, thanks for your help!
Hello,
Thanks for a very cool package! I ran into this issue when combining cat() with cli_alert_* functions.
I would have expected the ouputs of following two code chunks to be the same:
But the ✖ is in the wrong position in the second case.
The text was updated successfully, but these errors were encountered: