paint_ifempty | R Documentation |
Paint if empty
paint_ifempty(txt, true_paint = crayon::blue, false_paint = crayon::yellow)
txt |
text to be painted and printed |
true_paint |
crayon function to execute if ~is_empty(txt) or txt == "" |
false_patin |
crayon function to execute |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.