| Title: | A Quirky ASCII-Art Frog Alternative to 'print' |
|---|---|
| Description: | Prints a user-supplied message alongside a small ASCII-art frog in one of several moods (default, sleepy, angry, party, ninja). Designed as a quirky alternative to 'print' for adding visual flair to console output in scripts, demos, teaching materials, and command-line tools. |
| Authors: | Linoy Levi [aut, cre] |
| Maintainer: | Linoy Levi <[email protected]> |
| License: | MIT + file LICENSE |
| Version: | 0.1.1 |
| Built: | 2026-06-04 11:12:29 UTC |
| Source: | https://github.com/cran/HelloFrog |
A quirky alternative to print: prints the supplied
message to standard output alongside a small ASCII-art frog in one of
several moods.
say( message = "Hello Frog!", mood = c("default", "sleepy", "angry", "party", "ninja") )say( message = "Hello Frog!", mood = c("default", "sleepy", "angry", "party", "ninja") )
message |
A character string to display. Defaults to
|
mood |
The frog's mood. One of |
A character string containing the rendered output (message plus ASCII art), returned invisibly. Useful for tests and for capturing the output without re-rendering.
say() say("Good morning!") say("zzz...", mood = "sleepy") say("Where did it go?", mood = "ninja")say() say("Good morning!") say("zzz...", mood = "sleepy") say("Where did it go?", mood = "ninja")