Garrett is the author of Hands-On Programming with R and R for Data Science from O'Reilly Media. He is a Data Scientist at RStudio and holds a Ph.D. in Statistics, but specializes in teaching. He's taught people how to use R at over 50 government agencies, small businesses, and multi-billion dollar global companies; and he's designed RStudio's training materials for R, Shiny, dplyr and more and is a frequent contributor to the RStudio blog. He wrote the popular lubridate package for R.
In the second part of this two-part course on Working with the RStudio IDE, you will learn how RStudio makes it easy to build your own R packages, how you can integrate with your favorite version control software like Git and GitHub for maximum productivity, and finally how to make use of tools like R Markdown, LaTeX, and Shiny for reporting your results to the relevant stakeholders.
This chapter takes you through the process, from start to finish, of building your own R package in the RStudio IDE. You'll see how the tools provided in the IDE make package development accessible (and fun) for everyone!
In this chapter, you'll practice using RStudio's version control interface. You'll start with the basics, like how to turn on version control using Git in an existing directory. Then, you'll see how to track changes to files over time, explore your commit history, get rid of unwanted changes, and how to push changes to remote repositories on GitHub.
This chapter covers the basics of working with three popular reporting tools in RStudio: R Markdown, Shiny, and LaTeX. The goal is to make it as easy and enjoyable as possible for you to document your analyses in a reproducible way and share your results with others.