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

spark_bar()
x <- seq(0, 1, length = 10)
#> [1] "cli_spark_line" "cli_spark"