get_spinner: Character vector to put a spinner on the screen

Description Usage Arguments Value See Also Examples

View source: R/spinner.R

Description

cli contains many different spinners, you choose one according to your taste.

Usage

1

Arguments

which

The name of the chosen spinner. If NULL, then the default is used, which can be customized via the cli.spinner_unicode, cli.spinner_ascii and cli.spinner options. (The latter applies to both Unicode and ASCII displays. These options can be set to the name of a builting spinner, or to a list that has an entry called frames, a character vector of frames.

Value

A list with entries: name, interval: the suggested update interval in milliseconds and frames: the character vector of the spinner's frames.

See Also

Other spinners: demo_spinners(), list_spinners(), make_spinner()

Examples

1
2

RonMobile/cli documentation built on Dec. 18, 2021, 11 a.m.