Github
LinkedIn
Twitter
YouTube
RSS

Training Course Details

Building an R Package

Building an R Package

Course Level: Advanced

This is a one-day intensive course on building a package in R. The focus will be on getting a working R package ready for distribution.

No Events Currently Scheduled

Sorry, there are no upcoming events for this course, but please get in touch if you would like to be kept informed when events are scheduled in the future.

View our full training course calendar »

Course Details

  • Course Outline
  • Learning Outcomes
  • Materials
  • Prior Knowledge

Course Outline

Participants can bring their own code or they can use the provided example code to write a fully functional R package.

  • Why create an R package.
  • What is in an R package.
  • Writing documentation with {roxygen2}.
  • Creating packages with RStudio.
  • Distributing your package.

Learning Outcomes

By the end of the day participants will…

  • have an understanding of CRAN and how R packages work
  • be able to document package functions
  • be able to add datasets, vignettes and unit tests to an R package
  • have produced their own working R package

Materials

Prior Knowledge

It is assumed that all applicants have a basic knowledge of R. Attending the Introduction to R course and programming with R is sufficient.

Attendee Feedback