So You Want to Write an R Package? So you want to write your first R package, but you don’t know where to start? We can help with that! Writing an R package is not difficult per se, but it can be intimidating for a first timer. Why would you want to write an R package? Well, as @PhytophthoraLab says, if you have more than two functions, you have a package, plus it means you can get citations!