Skip to contents

rockandstone() plays a random voiceline. This is useful, for example, to to get notified when a script is finished.

Usage

rockandstone(category = NULL, sentiment = NULL, nsfw = FALSE)

Arguments

category

An optional character vector specifying the voiceline categories to include for playback. See voiceline_categories() for options.

sentiment

An optional character vector specifying the voiceline sentiments to include for playback. Options are "positive", "negative", and "neutral".

nsfw

A logical specifying whether to include "Not Safe For Work" voicelines that include profanity. Default is FALSE.

Value

NULL

Note

Voicelines by Ghost Ship Games are licensed under CC BY-NC-SA 3.0

Examples

if (FALSE) { # interactive()

# By default the voiceline pool includes all "Safe For Work" voicelines
rockandstone()

# "Not Safe For Work Voicelines" (with profanity) are opt-in
rockandstone(nsfw = TRUE)

# The voiceline pool can be reduced to certain categories and/or sentiments
# to suit your use case
rockandstone(category = "salute")
rockandstone(sentiment = "negative")
}