Package 'runes'

Title: Convert Strings to Elder Futhark Runes
Description: Convert a string of text characters to Elder Futhark Runes <https://en.wikipedia.org/wiki/Elder_Futhark>.
Authors: Bryan Jenks [aut, cre]
Maintainer: Bryan Jenks <[email protected]>
License: MIT + file LICENSE
Version: 0.1.0
Built: 2024-11-01 11:16:47 UTC
Source: https://github.com/tallguyjenks/runes

Help Index


runes()

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

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

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_table()

Description

runes_table() returns a data.frame with 3 variable text columns.AX

Usage

runes_table(futhark = "elder", branch = NA)

Arguments

futhark

which futhark set you'd like, defaults to "elder" and the argument must be a string

branch

if futhark is "younger" then you must also choose whether you would like short or long branch younger futhark

Details

The data.frame returned by this function returns 3 columns

  1. The unicode sequence that represents the rune character.

  2. The English a-z characters of the alphabet

  3. The rune itself showing how it would also be displayed.

Examples

runes_table()