Package 'HelloFrog'

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

Help Index


Print a Message with an ASCII-Art Frog

Description

A quirky alternative to print: prints the supplied message to standard output alongside a small ASCII-art frog in one of several moods.

Usage

say(
  message = "Hello Frog!",
  mood = c("default", "sleepy", "angry", "party", "ninja")
)

Arguments

message

A character string to display. Defaults to "Hello Frog!".

mood

The frog's mood. One of "default", "sleepy", "angry", "party", or "ninja". Partial matching is supported.

Value

A character string containing the rendered output (message plus ASCII art), returned invisibly. Useful for tests and for capturing the output without re-rendering.

Examples

say()
say("Good morning!")
say("zzz...", mood = "sleepy")
say("Where did it go?", mood = "ninja")