generated from labordynamicsinstitute/presentation-r-template
-
Notifications
You must be signed in to change notification settings - Fork 7
/
exercise1.Rmd
51 lines (35 loc) · 1.23 KB
/
exercise1.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
---
title: "Creating reproducible packages when data are confidential: Exercise 1"
author:
- "Lars Vilhuber"
date: "`r Sys.Date()`"
output:
ioslides_presentation:
incremental: false
self-included: true
widescreen: true
---
# Exercise 1-1
## Set up a project structure
<div class="blue3">
> Follow the lesson learned here and create a basic project structure
> 1. FORK the following repository: [labordynamicsinstitute/test-part-1-1](https://github.com/labordynamicsinstitute/test-part-1-1)
> 2. Populate it with the directory structure
> 3. Push to your Github repository (your own fork)
> Did that work?
</div>
## Populate the project structure
<div class="blue3">
> 4. Add a README describing the purpose of each directory
> 5. Push to your Github repository
> Did that work?
</div>
# Exercise 1-2
## Make a portable repository
<div class="blue3">
Once you are done, at most one line can be changed to make it run!
> 1. FORK the following repository: [labordynamicsinstitute/test-part-1-2](https://github.com/labordynamicsinstitute/test-part-1-2)
> 2. Modify the code, either Stata or R.
> 3. Push to your Github repository (your own fork)
</div>
Do you think your code will work on somebody else's computer or in the cloud?