You might want to avoid sparklines on non-UTF-8 systems, because they do not look good. You can use is_utf8_output() to test for support for them.

spark_line(x)

Arguments

x

A numeric vector between 0 and 1

See also

Examples

x <- seq(0, 1, length = 10) spark_line(x)
#> [1] "⣀⡠⠔⠊⠉" #> attr(,"class") #> [1] "cli_spark_line" "cli_spark"