endless_horse: Endless horse

View source: R/endless_horse.R

endless_horseR Documentation

Endless horse

Description

Each time you press enter, the horse keeps going...and going...

Usage

endless_horse(
  what = "Hello world!",
  endless = TRUE,
  wait = 0.5,
  what_color = NULL,
  horse_color = NULL
)

Arguments

what

(character) What do you want to say? See details.

endless

(logical) Should horse be enless, you better say yes. Default: TRUE

wait

How long to wait between leg segments (time grows geometrically after the first iteration in order to keep the horse on screen for a while, but it will keep going forever. Or until you hit escape/Ctrl-C depending on your platform).

what_color

(character or crayon function) A crayon-suported text color or crayon style function to color what. You might try colors() or ?rgb for ideas.

horse_color

(character or crayon function) A crayon-suported text color or crayon style function to color your steed.

Examples

## Not run: 
endless_horse()
endless_horse(endless = FALSE)

## End(Not run)

sckott/cowsay documentation built on Nov. 6, 2023, 1:54 p.m.