runes: runes()

Description Usage Arguments Value Examples

View source: R/runes.R

Description

runes() Converts alpha characters a-z/A-Z to runes. You can use this in console output, scripts, RMarkdown documents, anything with Unicode/UTF-8 support.

Usage

1
runes(x, futhark = "elder", branch = NA, hide = FALSE)

Arguments

x

a character string

futhark

default is "elder" for elder futhark runes, the other option is "younger" futhark as a string argument

branch

default is "NA" but when "younger" futhark is chosen you must specify a branch, either "short" or "long" as a string argument

hide

boolean option to hide non translated English alphabet characters from output. Default option hides nothing from user

Value

If input is a single character string then output will be a character string with unicode Elder Futhark runes replacing the 'A-Z' characters except 'q' and 'x'

Examples

1
2
3
4
5
6
7
8
9
cat(runes("Your Results Are: "), 7 * 49, "\n")

runes("hello world")

runes(x = "hello world", futhark = "elder", hide = TRUE)

runes(x = "hello world", futhark = "younger", branch = "long", hide = TRUE)

runes(x = "hello world", futhark = "younger", branch = "short", hide = FALSE)

runes documentation built on July 2, 2020, 3:13 a.m.

Related to runes in runes...