

This is optional but highly recommended, particularly for new Git users. GitKraken is to Git what RStudio is to R. This is a GUI for Git which makes it much easier to dive into version control without the command line. I also recommend reading Jenny Bryan’s advice on carefully choosing a username. We will use GitHub to host the source files of our R package. Please read Chapter 1: Why Git? Why GitHub? to understand the big picture and motivation for using Git and Github.I strongly recommend reading these setup instructions by Jenny Bryan for Mac/Windows/Linux and the Troubleshooting section. This is a powerful graphical user interface (GUI) which makes the package creation process much easier. You cannot show up at the workshop with no preparation and keep up! It is vital that you attempt to set up your system in advance. This workshop assumes familiarity with R, RStudio, writing functions, installing packages, loading libraries and requires a GitHub account. In addition to creating an R package from scratch, you will learn how to make it robust across platforms and future changes using continuous integration and unit testing. The objective of this workshop is to learn how to develop an R package. They provide a structured way to organize, use and distribute code to others and/or your future self. A package is a collection of reusable functions, the documentation that describes how to use them, tests and sample data. While these are enough to get published, it is unlikely your method will be used by others without a key fifth component: a software package. This typically involves four components: developing the theory, translating the equations to computer code, a simulation study and a real data analysis. One of the fundamental roles of a statistician is to create methods to analyze data. 4.2.10 Step 10: Dependencies: What does your package need?.4.2.5 Step 5: Fill in the blanks and commit changes.4.2.3 Step 3: Configure RStudio build options.4.2.2 Step 2: Add required R package files.3.7 Step 5: Open the repo with GitKraken.3.5 Step 3: add and commit your changes.3.4 Step 2: New RStudio Project via git clone.
