Skip to content

Commit d875719

Browse files
authored
Merge branch 'gh-pages' into ajstewartlang-patch-1
2 parents 365fc71 + 4a7c956 commit d875719

16 files changed

+310
-176
lines changed

01-what-and-why.Rmd

+6-6
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ library(knitr)
1414
## Global options
1515
options(max.print = "75")
1616
opts_chunk$set(cache = TRUE,
17-
prompt = FALSE,
18-
tidy = TRUE,
19-
comment = "> #",
20-
message = FALSE,
21-
warning = FALSE)
17+
prompt = FALSE,
18+
tidy = TRUE,
19+
comment = "> #",
20+
message = FALSE,
21+
warning = FALSE)
2222
opts_knit$set(width = 75)
2323
```
2424

@@ -65,4 +65,4 @@ container. You can have many running containers of the same image.
6565

6666

6767
Next: Go to [Lesson 02 Launching Docker](02-Launching-Docker.html) or back to the
68-
[main page](http://ropenscilabs.github.io/r-docker-tutorial/).
68+
[main page](http://jsta.github.io/r-docker-tutorial/).

01-what-and-why.html

+20-9
Large diffs are not rendered by default.

02-Launching-Docker.Rmd

+6-6
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ library(knitr)
1414
## Global options
1515
options(max.print = "75")
1616
opts_chunk$set(cache = TRUE,
17-
prompt = FALSE,
18-
tidy = TRUE,
19-
comment = "> #",
20-
message = FALSE,
21-
warning = FALSE)
17+
prompt = FALSE,
18+
tidy = TRUE,
19+
comment = "> #",
20+
message = FALSE,
21+
warning = FALSE)
2222
opts_knit$set(width = 75)
2323
```
2424

@@ -159,5 +159,5 @@ in RStudio in your browser.
159159

160160

161161
Next: Go to [Lesson 03 Install packages](03-install-packages.html) or back to the
162-
[main page](http://ropenscilabs.github.io/r-docker-tutorial/).
162+
[main page](http://jsta.github.io/r-docker-tutorial/).
163163

02-Launching-Docker.html

+21-10
Large diffs are not rendered by default.

03-install-packages.Rmd

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,4 +104,4 @@ docker image contains. Write a README file which documents the details of the
104104

105105

106106
Next: Go to [Lesson 04 Dockerhub](04-Dockerhub.html) or back to the
107-
[main page](http://ropenscilabs.github.io/r-docker-tutorial/).
107+
[main page](http://jsta.github.io/r-docker-tutorial/).

03-install-packages.html

+84-46
Large diffs are not rendered by default.

04-Dockerhub.Rmd

+6-6
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ library(knitr)
1414
## Global options
1515
options(max.print = "75")
1616
opts_chunk$set(cache = TRUE,
17-
prompt = FALSE,
18-
tidy = TRUE,
19-
comment = "> #",
20-
message = FALSE,
21-
warning = FALSE)
17+
prompt = FALSE,
18+
tidy = TRUE,
19+
comment = "> #",
20+
message = FALSE,
21+
warning = FALSE)
2222
opts_knit$set(width = 75)
2323
```
2424

@@ -125,5 +125,5 @@ know with your neighbour.
125125

126126

127127
Next: Go to [Lesson 05 Dockerfiles](05-dockerfiles.html) or back to the
128-
[main page](http://ropenscilabs.github.io/r-docker-tutorial/).
128+
[main page](http://jsta.github.io/r-docker-tutorial/).
129129

04-Dockerhub.html

+27-14
Large diffs are not rendered by default.

05-dockerfiles.Rmd

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,4 +103,4 @@ Find the Dockerfile of the `rocker/verse` image through Docker Hub.
103103
- Find the build details of the `rocker/verse` image. What do they tell us?
104104

105105
Go to [Lesson 06 Share all your analysis](06-Sharing-all-your-analysis.html) or back to the
106-
[main page](http://ropenscilabs.github.io/r-docker-tutorial/).
106+
[main page](http://jsta.github.io/r-docker-tutorial/).

05-dockerfiles.html

+22-11
Large diffs are not rendered by default.

06-Sharing-all-your-analysis.Rmd

+6-6
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ output:
77
highlight: pygments
88
---
99

10-
Now that we have leanrned how to work with a dockerfile, we can send all our analysis to a collaborator.
11-
We will share an image that contains all the dependencies that we need to ran our analysis, the data and the analysis.
10+
Now that we have learned how to work with a dockerfile, we can send all our analysis to a collaborator.
11+
We will share an image that contains all the dependencies that we need to run our analysis, the data and the analysis.
1212

1313
We will build this image via a dockerfile. Let's start with the basic verse rocker image we used before.
1414
This time we want to have a specific R version (3.3.2), which the developers make possible by tagging the images with the version.
@@ -36,9 +36,8 @@ On a new R script let's write the following analysis.
3636
library(ggplot2)
3737
library(gapminder)
3838
39-
life_expentancy_plot <- ggplot(data = gapminder) +
40-
geom_point(aes(x = lifeExp, y = gdpPercap, colour = continent))
41-
39+
life_expentancy_plot <- ggplot(data = gapminder) +
40+
geom_point(aes(x = lifeExp, y = gdpPercap, colour = continent))
4241
```
4342

4443
We will save this r script as analysis.R and add it to our dockerfile.
@@ -112,4 +111,5 @@ docker pull yourhubusername/gapminder_my_analysis:firsttry
112111

113112
They now have the image of your analysis.
114113

115-
Click to go back to the [main page](http://ropenscilabs.github.io/r-docker-tutorial/).
114+
115+
Click to go back to the [main page](http://jsta.github.io/r-docker-tutorial/).

06-Sharing-all-your-analysis.html

+87-49
Large diffs are not rendered by default.

Makefile

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
2+
RMD := $(wildcard *.Rmd)
3+
KNIT_HTML := $(patsubst %.Rmd, %.html, $(RMD))
4+
5+
all: $(KNIT_HTML)
6+
7+
test:
8+
echo $(RMD)
9+
echo $(KNIT_HTML)
10+
11+
%.html: %.Rmd
12+
Rscript -e "rmarkdown::render('$<')"

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
A docker tutorial for reproducible research.
33

44
This is an introduction to Docker designed for participants with knowledge
5-
about R and RStudio. The introduction is intended to be helping people who need Dockerfor a project. We first explain what Docker is and why it is useful. Then
5+
about R and RStudio. The introduction is intended to be helping people who need Docker for a project. We first explain what Docker is and why it is useful. Then
66
we go into the the details on how to use it for a reproducible transportable project.
77

88

@@ -18,5 +18,5 @@ we go into the the details on how to use it for a reproducible transportable pro
1818
6. [Lesson 06 Sharing your analysis](06-Sharing-all-your-analysis.html)
1919

2020
## Links
21-
- [Website](http://ropenscilabs.github.io/r-docker-tutorial)
22-
- [For lesson developers](http://pad.software-carpentry.org/RopenSci-docker-tutorial)
21+
- [Website](http://jsta.github.io/r-docker-tutorial)
22+
- [For lesson developers](http://pad.software-carpentry.org/RopenSci-docker-tutorial)

index.html

+7-7
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@
1717
<header>
1818
<h1>R Docker tutorial</h1>
1919

20-
<p class="view"><a href="https://github.com/ropenscilabs/r-docker-tutorial">View the Project on GitHub <small>ropenscilabs/r-docker-tutorial</small></a></p>
20+
<p class="view"><a href="https://github.com/jsta/r-docker-tutorial">View the Project on GitHub <small>jsta/r-docker-tutorial</small></a></p>
2121

2222

2323
<ul>
24-
<li><a href="https://github.com/ropenscilabs/r-docker-tutorial/zipball/master">Download <strong>ZIP File</strong></a></li>
25-
<li><a href="https://github.com/ropenscilabs/r-docker-tutorial/tarball/master">Download <strong>TAR Ball</strong></a></li>
26-
<li><a href="https://github.com/ropenscilabs/r-docker-tutorial">View On <strong>GitHub</strong></a></li>
24+
<li><a href="https://github.com/jsta/r-docker-tutorial/zipball/master">Download <strong>ZIP File</strong></a></li>
25+
<li><a href="https://github.com/jsta/r-docker-tutorial/tarball/master">Download <strong>TAR Ball</strong></a></li>
26+
<li><a href="https://github.com/jsta/r-docker-tutorial">View On <strong>GitHub</strong></a></li>
2727
</ul>
2828
</header>
2929
<section>
@@ -55,12 +55,12 @@ <h2>Before You Start</h2>
5555

5656
<p>
5757
This tutorial is work in progress. If you have any suggestions how we could make it better please open
58-
a new <a href="https://github.com/ropenscilabs/r-docker-tutorial/issues">issue</a>.
58+
a new <a href="https://github.com/jsta/r-docker-tutorial/issues">issue</a>.
5959
</p>
6060
</section>
6161
<footer>
62-
<p>This project is maintained by <a href="https://github.com/ropenscilabs">ropenscilabs</a>.</p>
63-
<p>You can find the contributors <a href="https://github.com/ropenscilabs/r-docker-tutorial/graphs/contributors">here</a>.</p>
62+
<p>This project is maintained by <a href="https://github.com/jsta">jsta</a>.</p>
63+
<p>You can find the contributors <a href="https://github.com/jsta/r-docker-tutorial/graphs/contributors">here</a>.</p>
6464
<p><small>Hosted on GitHub Pages &mdash; Theme by <a href="https://github.com/orderedlist">orderedlist</a></small></p>
6565
</footer>
6666
</div>

instructors.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## Instructor's Guide
22

3-
This file contains the collected tips and tricks for teaching this lesson. After you teach it, please add your comments by sending us a pull request, or letting us know in an [issue](https://github.com/ropenscilabs/r-docker-tutorial/issues).
3+
This file contains the collected tips and tricks for teaching this lesson. After you teach it, please add your comments by sending us a pull request, or letting us know in an [issue](https://github.com/jsta/r-docker-tutorial/issues).
44

55
### General
66

0 commit comments

Comments
 (0)