Pig Latin

This R package allows the user to translate an arbitrary text into Pig Latin.

devtools::install_github("expersso/piglatin")
library(piglatin)
library(magrittr)

url("http://history.eserver.org/gettysburg-address.txt") %>%
  readLines() %>%
  .[4:26] %>%
  paste(collapse = "") %>%
  pigify() %>% 
  strwrap(60) %>%
  cat(sep = "\n")


expersso/piglatin documentation built on May 29, 2019, 4:51 p.m.