R package primer

Further resources

  • Hilary Parker’s “Writing an R package from scratch”
  • Hadley Wickham and Jenny Bryan’s book about R packages
  • rOpenSci’s ebook on R package development, maintenance, and peer review
  • Friedrich Leisch’s Tutorial on creating R packages (pdf)
  • Jeff Leek on developing R packages
  • Stat 545 guide to writing an R package
  • The official Writing R extensions manual pdf icon
  • A lecture on writing R packages from my Tools for reproducible research course
  • Developing R packages with RStudio
  • Introduction to roxygen2
  • knitr documentation and book
  • How to build package vignettes with knitr
  • My knitr in a knutshell tutorial
  • devtools package
  • Rd2roxygen package
  • testthat package
  • A lecture with discussion of software licenses from my Tools for reproducible research course
  • Rtools, for building R packages on Windows
  • A web service for building and checking R packages for Windows
  • R-package-devel email list

CC0   Karl Broman