My first attempt to create an R package