Package 'clisymbols'

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

Help Index


Various handy symbols to use in a command line UI

Description

Various handy symbols to use in a command line UI

Usage

symbol

Format

A named list, see names(symbol) for all sign names.

Details

On Windows they have a fallback to less fancy symbols.

Examples

cat(symbol$tick, " SUCCESS\n", symbol$cross, " FAILURE\n", sep = "")

## All symbols
cat(paste(format(names(symbol), width = 20), unlist(symbol)), sep = "\n")