The content for this tutorial is available at hbs-rcs.github.io/R_Intro-gapminder/.
To update this tutorial you will need:
- rmarkdown to convert R Markdown documents to HTML.
- Jekyll to arrange those files for deployment to GitHub Pages, and also to serve files locally.
- GNU Make to tie everything together.
Here is the typical workflow:
-
Edit the content in the R Markdown files in the
content
folder. -
Re-compile the updated R Markdown files using:
make render
-
To inspect the site locally use:
make serve
and point your browser to localhost:1234.
-
Deploy your changes to the
gh-pages
branch of this repository using:make deploy
This step uses git-directory-deploy under the hood.