The farewell companion to compliment_of_the_day(). Produces a single goodbye that is deterministic for a given date: calling farewell_of_the_day() more than once for the same day returns the same farewell. Internally this seeds the random number generator with set.seed(), then restores whatever RNG state existed beforehand, so it will not disturb reproducibility elsewhere in your session (e.g. a set.seed() you called earlier).

farewell_of_the_day(
  date = Sys.Date(),
  mood = "sincere",
  profanity = "none",
  shakespearean = FALSE
)

Arguments

date

A Date, or a string coercible to one via as.Date(). Defaults to today's date.

mood, profanity, shakespearean

See farewell().

Value

A single farewell string.

Examples

farewell_of_the_day()
#> [1] "It was a genuine pleasure. Go well."
farewell_of_the_day("2026-01-01", mood = "dramatic")
#> [1] "Parting is such sweet sorrow. Mostly sorrow."
farewell_of_the_day(Sys.Date(), mood = "grumpy", shakespearean = TRUE)
#> [1] "Away! Thou hast exhausted mine patience."