Home

Awesome

rr

A template repository for reproducible research projects
:pencil2: :chart_with_upwards_trend: :notebook: :bar_chart: :microscope: :computer: :octocat:

Check out the example rendered HTML files

  1. Step 1 of an analysis, which generates some output
  2. Step 2 of an analysis, which loads the output from document 01

Contents:

Features

<br> <br>

<br> <br>

Make output

Load output

Requirements

Highly recommended:

Usage:

  1. On GitHub, click the "Use this template button"

  1. Follow the instructions to make a new repository, and clone it to your machine

  2. Source the rr_helpers.R file by running source("rr_helpers.R"), from the root of the project directory, and run rr_initialize(), following the prompts to clean up the repository for first use, and customize the template.

  3. To start new analyses, copy include/template.Rmd to the analysis folder, and code away!

  4. Whenever you make changes, commit them with git and push to the remote.

  5. To create a GitHub Pages site, make sure to commit HTMLs. It's recommended to only do this once they are relatively final, since self-contained HTMLs can be quite large files. In the settings for the GitHub repository, enable pages from the /root directory:

  1. :rocket: Profit!