generated from inSilecoInc/workshop_R_template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index_full.Rmd
230 lines (124 loc) · 3.43 KB
/
index_full.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
---
title: "Collaborate more"
author: "inSileco Team"
date: 2021-12-20
output:
xaringan::moon_reader:
css: [default, rd.css, rd-font.css, "hygge"]
lib_dir: assets
seal: false
nature:
highlightStyle: dracula
countIncrementalSlides: false
beforeInit: "macros.js"
---
```{r setup, include = FALSE}
source("_setup.R")
# knitr::clean_cache(TRUE)
htmltools::tagList(
xaringanExtra::use_clipboard(
button_text = "<i class=\"fa fa-clipboard\"></i>",
success_text = "<i class=\"fa fa-check\" style=\"color: #37abc8\"></i>",
),
rmarkdown::html_dependency_font_awesome()
)
xaringanExtra::use_scribble()
```
class: title-slide, middle
## .font100[Work more collaboratively in `r rp()`]
## .font100[with `r gt()` & `r gh()`]
<br>
.instructors[
.font160[`r rp()` Learning & Development community]
<br><br><br><br>
.authors140[David Beauchesne, Kevin Cazelles & Steve Vissault]
<br><br>
`r format(Sys.time(), '%B %d, %Y')`
<br>
.font140[
[`r gh()`](https://github.com/inSilecoInc/learning_git)
<!-- [`r db()`](link_to_data) -->
<!-- [`r rfa("file-pdf")`](link_to_pdf_version) -->
]
]
<br>
<img src="img/logoW.png" width="120px"></img>
.instructors[[email protected]]
<br>
.instructors[
[![pages-build-deployment](https://github.com/inSilecoInc/learning_git/actions/workflows/pages/pages-build-deployment/badge.svg)](https://github.com/inSilecoInc/learning_git/actions/workflows/pages/pages-build-deployment)
Content under [`r rfa("creative-commons")` `r rfa("creative-commons-by")`](https://creativecommons.org/licenses/by/4.0/) unless otherwise specified.]
---
class: inverse, center, middle
# `r nf()` Context
![:custom_hr]()
---
# Working collaboratively
## Why?
- only way to achieve our goals
- complementarity (skills, experience, etc)
- efficiency
--
## How?
- meetings (of all kind)
- sharing documents (of all kind)
--
- **sharing code** (say `r rp()` code or a RMD document)
---
# Sharing code
--
### - It's about keeping track of different versions of the code
--
### - Developers have been doing this for decades now
--
### - They have created great tools for this
--
### - `r gt()` is (probably) the most popular
--
### - `r gh()` is the largest host for `r gt()` repositories
---
# Learning objectives
### Learn about `r gt()` and `r gh()`
--
### Understand how `r gt()` works
--
### Be able to use `r gt()` and `r gh()` to collaborate
--
### Use [<img src="img/rmarkdown.png" style="vertical-align: middle;margin:10px" width="50px"></img>](https://rmarkdown.rstudio.com/) to create documents and expose them on `r gh()`
--
### Collaborate efficiently on a CSAS document using [csasdown `r rp()` package](https://github.com/pbs-assess/csasdown)
---
class: inverse, center, middle
# PART I
![:custom_hr]()
## `r nf()` `r gt()`, `r gh()`, `r gl()`, etc.
```{R part 1, child = "_01_git_github.Rmd"}
```
---
class: inverse, center, middle
# PART II
![:custom_hr]()
## `r gt()` basics (21/01/2022)
```{R part 2, child = "_02_basic_git_actions.Rmd"}
```
---
class: inverse, center, middle
# PART III
![:custom_hr]()
## Local and remote
```{R part 3, child = "_03_local_remote.Rmd"}
```
---
class: inverse, center, middle
# PART IV
![:custom_hr]()
## R Markdown
```{R part 4, child = "_04_rmarkdown.Rmd"}
```
---
class: inverse, center, middle
# PART V
![:custom_hr]()
## `bookdown` & `csasdown`
```{R part 5, child = "_05_csas.Rmd"}
```