Provides a simple wrapper around paste0()
.
Usage
animal_sounds(animal, sound)
Arguments
- animal
A character string, representing an animal
- sound
A string, representing an animal sound
Value
A string concatentating the given animal and sound
Details
![[Experimental]](figures/lifecycle-experimental.svg)
Please note that this is a toy package!
Examples
animal <- "lion"
sound <- "roar"
animal_sounds(animal, sound)
#> [1] "The lion goes roar!"
"The lion goes roar!"
#> [1] "The lion goes roar!"