Have you ever wanted Runes in your R Documents? Of course you did! so here's a package that gives you that functionality.
runes is a package to convert English A-Z characters to Runes. There is a LaTeX package to do this with RMarkdown, but why not make it easier and more intuitive to get the runes you need when you need them? runes("any string or vector here")
works as you'd expect.
I did not find a package in R that does this so i made it myself, so if you work with old Germanic runes for linguistic purposes or just really like runes like me, hopefully this will be a package you will get some use out of.
- None: Relies only on base functions.
# CRAN version:
install.packages("runes")
# OR for the development version:
remotes::install_github("tallguyjenks/runes")
library(runes)
runes("hello world!")
#> [1] "α»αααα αΉαα±αα!"
If you want a complete translation table of unicode sequence --> English Transcription --> Rune Character you can call the runes_table()
function that returns a data.frame of these items so you can use this for reference or input them into a document using the DT
, kable
, etc packages.
runes
can work with the pipe%>%
to take a single string output as a piped input- You can feed
runes
a string to format the output for any other function such as a consolecli::cli_h1(runes("This is a level 1 heading in runes"))
- Let me know some of the uses YOU have made with it!
- Read CONTRIBUTING
- Clone repository and create a new branch.
- Make changes and test
- Submit Pull Request with comprehensive description of changes
This is free, open-source software. If you'd like to support the development of future projects, or say thanks for this one, you can donate to me through paypal
MIT