Press "Enter" to skip to content

Reproducable Examples In R

Mara Averick shows us an example of a reproducable example in R, useful when reporting errors:

In honour of the triumphant return of reprex to CRAN, let’s revisit what I refer to as Jenny Bryan’s keys to reprex-cellence. The three keys are as follows:

  1. code that actually runs

  2. code that I don’t have to run

  3. code that can be easily run

Very useful if you want to get help on a problem.