knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

lullabyr

Children's songs can be repetitive. This is said to be good for childrens' learning, but can get boring for parents. This package helps parents who lack creativity (or energy) to generate childrens' songs with new words in them. It's also a great way to get your child (if they're old enough) to generate a song for themselves. Maybe they'll get inspired and want to learn R!

Installation

This package is not on CRAN. You can install it from GitHub with:

library(devtools)
install_github("mine-cetinkaya-rundel/lullabyr")

Example

Start by loading the package.

library(lullabyr)

Let's set a seed for the random generation first.

set.seed(52)

A is for... with animals:

sing_alphabet(animals)

A is for... with vegetables:

sing_alphabet(vegetables)

A is for... with fruits:

sing_alphabet(fruits)

A is for... with countries. There are no recognized countries starting with some of the letters so we get a warning:

sing_alphabet(countries)

Logo credit

The baby face in the logo is Baby by Joris Millot from the Noun Project.



mine-cetinkaya-rundel/lullabyr documentation built on May 14, 2019, 9:23 p.m.