toyr is a simple toy package created purely for educational purposes.
You can install the released version of toyr from CRAN with:
install.packages("toyr")
toyr provides a single function teddy() to return and optionally
print a teddy bear ASCII art:
library(toyr)
# Obtain a teddy bear ASCII art string and print it out
cat(teddy(FALSE))
#>
#> ___ .--.
#> .--.-" "-' .- |
#> / .-,` .'
#> \ ` \
#> '. ! \
#> | ! .--. |
#> \ '--' /.____
#> /`-. \__,'.' `\
#> __/ \`-.____.-' `\ /
#> | `---`'-'._/-` \----' _
#> |,-'` / | _.-' `\
#> .' / |--'` / |
#> / /\ ` | |
#> | .\/ \ .--. __ \ |
#> '-' '._ / `\ /
#> jgs `\ ' |------'`
#> \ | |
#> \ /
#> '._ _.'
#> ``
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.