Package Development in R
August 2019
Introduction
Table of Contents
This guide is organized into three parts.
- First, we’ll run through The proper way to structure and test packages.
- Second, we’ll discuss Version Control with Git and GitHub
- Lastly, we’ll briefly look at a couple of IDEs, which are just pieces of software that make it easier to write packages.
Here’s a link to a great devtools cheatsheet which puts most of the useful commands in this guide in one place.
We also wrote a small development example package (called devex
) which you can find linked here, on GitHub. If you haven’t used GitHub yet, don’t worry - we’ll go over how to use GitHub later.
Also, this guide is still under development, and we take feedback! If you find anything confusing or think the guide misses important content, please email help@iq.harvard.edu