Copyright Tiffany Timbers, 2024
Here is a practice worksheet for writing functions and unit tests in R
using the testthat
R package.
It also introduces beginner strategies for handling unquoted column names
when writing functions in the tidyverse.
- R and the following R packages:
digest
ottr
rlang
testthat
tidyverse
Software licensed under the MIT License, non-software content licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0) License. See the license file for more information.