I need your help!

If you find any typos, errors, or places where the text may be improved, please let me know. The best ways to provide feedback are by GitHub or hypothes.is annotations.

Opening an issue or submitting a pull request on GitHub

Hypothesis Adding an annotation using hypothes.is. To add an annotation, select some text and then click the on the pop-up menu. To see the annotations of others, click the in the upper right-hand corner of the page.

6 Workflow: scripts

Exercise 6.1

Go to the RStudio Tips twitter account, https://twitter.com/rstudiotips and find one tip that looks interesting. Practice using it!

The current timeline of @rstudiotips is displayed below.

Exercise 6.2

What other common mistakes will RStudio diagnostics report? Read https://support.rstudio.com/hc/en-us/articles/205753617-Code-Diagnostics to find out.

You should read that page, but some other diagnostics for R code include the following.

  1. Check for missing, unmatched, partially matched, and too many arguments to functions.
  2. Warn if a variable is not defined.
  3. Warn if a variable is defined but not used.
  4. Check that the code style conforms to the tidyverse style guide.