Gimme an R! Gimme an S! Gimme a Rock and Stone.
rockandstone
is a package for playing voicelines from the video game Deep Rock Galactic in R.
Installation
Install the development version from GitHub with:
# install.packages("remotes")
remotes::install_github("mccarthy-m-g/rockandstone")
Usage
By default the voiceline pool includes all “Safe For Work” voicelines.
“Not Safe For Work Voicelines” (with profanity) are opt-in.
rockandstone(nsfw = TRUE)
The voiceline pool can also be reduced to certain categories and/or sentiments to suit your use case.
rockandstone(category = "salute")
rockandstone(sentiment = "negative")
Voicelines can be played on error by setting the error
argument in options()
. This can be specified in startup files such as .Rprofile
to make it persist across sessions.
options(error = function() rockandstone(sentiment = "negative"))
Requirements
rockandstone
currently uses the beepr
package to play sounds in R.