Skip to contents

A function which allows you to vibe out whether various animals make a sound of your choice. This relies upon you having a vague awareness of what each animal sounds like. Makes use of the base::paste0() function to put everything together (it's basically a wrapper).

Usage

animal_sounds(animal = NULL, sound = NULL)

Arguments

animal

The animal that you're trying to work the sound out for.

sound

The sound you want to check against the animal.

Value

Returns a sentence to the effect of "The cow says moo!"

Examples

animal_sounds("cow", "moo")
#> [1] "The cow says moo!"