R package development

Building R packages is not particular hard, but it can be a bit of a daunting endeavour at the beginning, particularly if you are more of a statistician than a computer scientist or programmer.

Some concepts may appear foreign or like red tape, yet many of them evolved over time for a reason. They help to stay organise, collaborate more effectively with others and write better code.

So, here are my slides of the R package development workshop at Lancaster University.

R package development

For a detailed and authoritative reference on R package development see the Writing R Extensions manual on CRAN.


  1. A lovely presentation Markus.
    Sadly, your presentation did not exist when I just started learning package development. Still, I'm happy you hvae made this content available for others to come :).

    (p.s: the slidify thingi is really awesome)

    With regards,

  2. Barry Rowlingson11 June 2013 at 20:28

    And you don't even mention devtools?

  3. Well, the links to the sites of RStudtio, etc. do mention the devtools package.