Methods & Meta-science

Your first R package with unit tests

Writing your own R package is a great way to develop a library of functions you can reuse across your projects. In this workshop, we will go through the steps of creating a package, writing and documenting a function, writing unit tests to make sure your function is working as intended, and using your new package in a script. All materials will be available at