7 - Packaging

Objectives

  • Introduction to R package building
  • R package testing (RUnit, testthat, tinytest)

Topics

  • Packages
    • Why packages?
    • Basic package structure
  • Package building
  • Package testing

Core Material

Note that the first half of the material is new for 2022, but the second half are still from 2021 and will be updated next week.

Lecture Slides

Lecture Videos

Additional Resources