Writing R Packages

An R package enables analysts to share code in a robust and efficient way. This can happen either as part of the global open source community, or it may be deployed privately, within an enterprise. This half-day workshop will give attendees the skills they need to develop their own R packages. We’ll talk about how to structure the project directory, write useful documentation, and create unit tests. We’ll discuss the basics of the development cycle, and how to utilize platforms like GitHub to manage collaboration and deployment. Attendees will leave with a basic R package that they can modify for their own purposes. Basic familiarity with R is assumed.

  • Date:Wednesday, September 15
  • Time:1:30 PM - 5:00 PM EDT
  • Session Type:Half-Day Workshop
  • Session Code:WS-5
  • Learning Objective 1:Why is it useful to create an R package?
  • Learning Objective 2:What is a typical workflow for developing and iterating an R package?
  • Learning Objective 3:How can one facilitate collaboration on an R package in a robust and efficient way?
  • Level of Knowledge:Level 2: General knowledge of the subject
  • Moderator:Greg Spindell
Brian Fannin, ACAS, CSPA
Casualty Actuarial Society