Title: | Unicode Symbols at the R Prompt |
---|---|
Description: | A small subset of Unicode symbols, that are useful when building command line applications. They fall back to alternatives on terminals that do not support Unicode. Many symbols were taken from the 'figures' 'npm' package (see <https://github.com/sindresorhus/figures>). |
Authors: | Gábor Csárdi [aut, cre], Sindre Sorhus [aut], Posit Software, PBC [cph, fnd] |
Maintainer: | Gábor Csárdi <[email protected]> |
License: | MIT + file LICENSE |
Version: | 1.2.0 |
Built: | 2024-12-09 06:15:03 UTC |
Source: | https://github.com/r-lib/clisymbols |
Various handy symbols to use in a command line UI
symbol
symbol
A named list, see names(symbol)
for all sign names.
On Windows they have a fallback to less fancy symbols.
cat(symbol$tick, " SUCCESS\n", symbol$cross, " FAILURE\n", sep = "") ## All symbols cat(paste(format(names(symbol), width = 20), unlist(symbol)), sep = "\n")
cat(symbol$tick, " SUCCESS\n", symbol$cross, " FAILURE\n", sep = "") ## All symbols cat(paste(format(names(symbol), width = 20), unlist(symbol)), sep = "\n")