7 - Packaging, Docker
Objectives
- Introduction to R package building
- R package testing (RUnit, testthat, tinytest)
- What is Docker about?
- How do I use Docker?
- Examples of Docker use
Topics
- Packages
- Why packages?
- Basic package structure
- Package building
- Package testing
- Introducing Basics of Docker
- Examples of Using Docker
- Creating Containers interactively
- Creating Containers via Dockerfile
- Example of running RStudio Server via Docker
Core Material
Lecture Slides
Lecture Videos
- Video 35 (2025): Week 12 (Box) also Video 35 (2025, captioned) (ClassTranscribe)
- Video 36 (2021): Package Building (Box, captioned), also Video 36: Package Building (uncaptioned)
- Video 37 (2021): Package Testing (Box, captioned), also Video 37: Package Testing (uncaptioned)
- Video 38 (2025): Week 13 (Box) also Video 38 (2025, captioned) (ClassTranscribe)
- Video 39 (2021): Docker Intro (Box, captioned), also Video 39: Docker Intro (uncaptioned)
- Video 40 (2021): Docker Build + RStudio Example (Box, captioned), also Video 40: Docker Build + RStudio Example (uncaptioned)
Additional Resources
Julia Evans
A few of her comics made it onto the lecture slides and into the shell and
git section. Here are some more
related to Docker: