bubble_say | R Documentation |
Thought/speech bubble/balloon
bubble_say(x, width = 60)
bubble_think(x, width = 60)
x |
(character) a character vector |
width |
(integer/numeric) width of each line. default: 60 |
bubble_say
gives the traditional bubble that you get when
you run cowsay
on the command line, with carrots or slashes for the
sides, while bubble_think
gives a slightly different bubble with
parens for the sides
character vector of length greater than the input x
modified from https://github.com/schochastics/startifyR
Other bubble:
bubble_tail()
library(fortunes)
quote <- as.character(fortune())
bubble_say(x = quote)
cat(bubble_say(paste(quote, collapse = " ")), sep = "\n")
ch <- animal_fetch('chicken')
z <- paste(c(bubble_say(quote), bubble_tail(ch, "\\"), ch), collapse = "\n")
cat(z)
text_color <- sample(grDevices::colors(), 1)
text_style <- crayon::make_style(text_color)
text_style(bubble_say(quote))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.