Skip to contents

The random_emoji function selects and returns a random emoji from a predefined list of emojis. This function is often used to add personality or fun to messages and announcements.

Usage

random_emoji()

Value

A single character string containing a randomly selected emoji.

Details

The function draws from a fixed list of commonly used emojis. Each time the function is called, it selects one emoji at random and returns it. No input parameters are required.

Examples

# Generate a random emoji
random_emoji()
#> [1] "🔧"