Skip to content

Commit 3a10546

Browse files
committed
icrichmond published a site update
1 parent 0a65e26 commit 3a10546

16 files changed

+126
-126
lines changed

404.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
77
<title>Page not found | Presentation and Development Protocol</title>
88
<meta name="description" content="This is the Presentation and Development Protocol for the QCBS R Workshop Series" />
9-
<meta name="generator" content="bookdown 0.37 and GitBook 2.6.7" />
9+
<meta name="generator" content="bookdown 0.41 and GitBook 2.6.7" />
1010

1111
<meta property="og:title" content="Page not found | Presentation and Development Protocol" />
1212
<meta property="og:type" content="book" />
@@ -23,7 +23,7 @@
2323
<meta name="author" content="QCBS R Workshop Series" />
2424

2525

26-
<meta name="date" content="2023-12-12" />
26+
<meta name="date" content="2024-11-15" />
2727

2828
<meta name="viewport" content="width=device-width, initial-scale=1" />
2929
<meta name="apple-mobile-web-app-capable" content="yes" />
@@ -56,7 +56,7 @@
5656

5757
<style type="text/css">
5858
pre > code.sourceCode { white-space: pre; position: relative; }
59-
pre > code.sourceCode > span { display: inline-block; line-height: 1.25; }
59+
pre > code.sourceCode > span { line-height: 1.25; }
6060
pre > code.sourceCode > span:empty { height: 1.2em; }
6161
.sourceCode { overflow: visible; }
6262
code.sourceCode > span { color: inherit; text-decoration: inherit; }

advanced-developing-en.html

Lines changed: 51 additions & 51 deletions
Large diffs are not rendered by default.

codedeconduite.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
77
<title>Section 1 Code de conduite | Presentation and Development Protocol</title>
88
<meta name="description" content="This is the Presentation and Development Protocol for the QCBS R Workshop Series" />
9-
<meta name="generator" content="bookdown 0.37 and GitBook 2.6.7" />
9+
<meta name="generator" content="bookdown 0.41 and GitBook 2.6.7" />
1010

1111
<meta property="og:title" content="Section 1 Code de conduite | Presentation and Development Protocol" />
1212
<meta property="og:type" content="book" />
@@ -23,7 +23,7 @@
2323
<meta name="author" content="QCBS R Workshop Series" />
2424

2525

26-
<meta name="date" content="2023-12-12" />
26+
<meta name="date" content="2024-11-15" />
2727

2828
<meta name="viewport" content="width=device-width, initial-scale=1" />
2929
<meta name="apple-mobile-web-app-capable" content="yes" />
@@ -56,7 +56,7 @@
5656

5757
<style type="text/css">
5858
pre > code.sourceCode { white-space: pre; position: relative; }
59-
pre > code.sourceCode > span { display: inline-block; line-height: 1.25; }
59+
pre > code.sourceCode > span { line-height: 1.25; }
6060
pre > code.sourceCode > span:empty { height: 1.2em; }
6161
.sourceCode { overflow: visible; }
6262
code.sourceCode > span { color: inherit; text-decoration: inherit; }

codeofconduct-en.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
77
<title>Section 6 Code of conduct | Presentation and Development Protocol</title>
88
<meta name="description" content="This is the Presentation and Development Protocol for the QCBS R Workshop Series" />
9-
<meta name="generator" content="bookdown 0.37 and GitBook 2.6.7" />
9+
<meta name="generator" content="bookdown 0.41 and GitBook 2.6.7" />
1010

1111
<meta property="og:title" content="Section 6 Code of conduct | Presentation and Development Protocol" />
1212
<meta property="og:type" content="book" />
@@ -23,7 +23,7 @@
2323
<meta name="author" content="QCBS R Workshop Series" />
2424

2525

26-
<meta name="date" content="2023-12-12" />
26+
<meta name="date" content="2024-11-15" />
2727

2828
<meta name="viewport" content="width=device-width, initial-scale=1" />
2929
<meta name="apple-mobile-web-app-capable" content="yes" />
@@ -56,7 +56,7 @@
5656

5757
<style type="text/css">
5858
pre > code.sourceCode { white-space: pre; position: relative; }
59-
pre > code.sourceCode > span { display: inline-block; line-height: 1.25; }
59+
pre > code.sourceCode > span { line-height: 1.25; }
6060
pre > code.sourceCode > span:empty { height: 1.2em; }
6161
.sourceCode { overflow: visible; }
6262
code.sourceCode > span { color: inherit; text-decoration: inherit; }

developing-en.html

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
77
<title>Section 9 Developing | Presentation and Development Protocol</title>
88
<meta name="description" content="This is the Presentation and Development Protocol for the QCBS R Workshop Series" />
9-
<meta name="generator" content="bookdown 0.37 and GitBook 2.6.7" />
9+
<meta name="generator" content="bookdown 0.41 and GitBook 2.6.7" />
1010

1111
<meta property="og:title" content="Section 9 Developing | Presentation and Development Protocol" />
1212
<meta property="og:type" content="book" />
@@ -23,7 +23,7 @@
2323
<meta name="author" content="QCBS R Workshop Series" />
2424

2525

26-
<meta name="date" content="2023-12-12" />
26+
<meta name="date" content="2024-11-15" />
2727

2828
<meta name="viewport" content="width=device-width, initial-scale=1" />
2929
<meta name="apple-mobile-web-app-capable" content="yes" />
@@ -56,7 +56,7 @@
5656

5757
<style type="text/css">
5858
pre > code.sourceCode { white-space: pre; position: relative; }
59-
pre > code.sourceCode > span { display: inline-block; line-height: 1.25; }
59+
pre > code.sourceCode > span { line-height: 1.25; }
6060
pre > code.sourceCode > span:empty { height: 1.2em; }
6161
.sourceCode { overflow: visible; }
6262
code.sourceCode > span { color: inherit; text-decoration: inherit; }
@@ -531,12 +531,12 @@ <h2><span class="header-section-number">9.3</span> How to develop workshops<a hr
531531
<div id="getting-started" class="section level3 hasAnchor" number="9.3.1">
532532
<h3><span class="header-section-number">9.3.1</span> Getting started<a href="developing-en.html#getting-started" class="anchor-section" aria-label="Anchor link to header"></a></h3>
533533
<p>The QCBS R Workshops presentations are written in <code>RMarkdown</code> using a template built on <a href="https://bookdown.org/yihui/rmarkdown/xaringan.html">xaringan</a>. The first step is to install the <code>R</code> package <code>xaringan</code>.</p>
534-
<div class="sourceCode" id="cb22"><pre class="sourceCode r"><code class="sourceCode r"><span id="cb22-1"><a href="developing-en.html#cb22-1" aria-hidden="true" tabindex="-1"></a><span class="cf">if</span> (<span class="sc">!</span><span class="fu">require</span>(devtools)) <span class="fu">install.packages</span>(<span class="st">&quot;devtools&quot;</span>)</span>
535-
<span id="cb22-2"><a href="developing-en.html#cb22-2" aria-hidden="true" tabindex="-1"></a>devtools<span class="sc">::</span><span class="fu">install_github</span>(<span class="st">&quot;yihui/xaringan&quot;</span>)</span></code></pre></div>
534+
<div class="sourceCode" id="cb22"><pre class="sourceCode r"><code class="sourceCode r"><span id="cb22-1"><a href="developing-en.html#cb22-1" tabindex="-1"></a><span class="cf">if</span> (<span class="sc">!</span><span class="fu">require</span>(devtools)) <span class="fu">install.packages</span>(<span class="st">&quot;devtools&quot;</span>)</span>
535+
<span id="cb22-2"><a href="developing-en.html#cb22-2" tabindex="-1"></a>devtools<span class="sc">::</span><span class="fu">install_github</span>(<span class="st">&quot;yihui/xaringan&quot;</span>)</span></code></pre></div>
536536
<p>Secondly, you need to create a local copy of the repository for the workshop you will be working on, found <a href="https://github.com/QCBSRworkshops">here</a>. To do so, you can <a href="https://help.github.com/articles/cloning-a-repository/">clone the GitHub repository</a> on your computer.</p>
537537
<p>You can use the command line to do this (more details <a href="https://docs.github.com/en/free-pro-team@latest/github/creating-cloning-and-archiving-repositories/cloning-a-repository#cloning-a-repository-using-the-command-line">here</a>):</p>
538-
<div class="sourceCode" id="cb23"><pre class="sourceCode bash"><code class="sourceCode bash"><span id="cb23-1"><a href="developing-en.html#cb23-1" aria-hidden="true" tabindex="-1"></a><span class="fu">git</span> clone https://github.com/QCBSRworkshops/workshop01.git</span>
539-
<span id="cb23-2"><a href="developing-en.html#cb23-2" aria-hidden="true" tabindex="-1"></a><span class="co"># change this link depending on the workshop you&#39;re working on!</span></span></code></pre></div>
538+
<div class="sourceCode" id="cb23"><pre class="sourceCode bash"><code class="sourceCode bash"><span id="cb23-1"><a href="developing-en.html#cb23-1" tabindex="-1"></a><span class="fu">git</span> clone https://github.com/QCBSRworkshops/workshop01.git</span>
539+
<span id="cb23-2"><a href="developing-en.html#cb23-2" tabindex="-1"></a><span class="co"># change this link depending on the workshop you&#39;re working on!</span></span></code></pre></div>
540540
<p>If you are not comfortable with the command line, you can clone this repository using <a href="https://desktop.github.com/">GitHub Desktop</a>, following instructions <a href="https://docs.github.com/en/free-pro-team@latest/github/creating-cloning-and-archiving-repositories/cloning-a-repository#cloning-a-repository-to-github-desktop">here</a>.</p>
541541
<p>Once you have cloned the repository, you are ready to begin developing!</p>
542542
</div>
@@ -548,44 +548,44 @@ <h3><span class="header-section-number">9.3.2</span> GitHub workflow<a href="dev
548548
<li><strong>Create and publish a new branch</strong>. Choose a name that is explicit about what you are adding, <em>e.g.</em> <code>workshop1_intro</code> if you are working on the introduction of workshop 1.</li>
549549
</ol>
550550
<p>On the command line:</p>
551-
<div class="sourceCode" id="cb24"><pre class="sourceCode bash"><code class="sourceCode bash"><span id="cb24-1"><a href="developing-en.html#cb24-1" aria-hidden="true" tabindex="-1"></a><span class="fu">git</span> branch workshop1_intro <span class="co"># creates a new branch</span></span></code></pre></div>
551+
<div class="sourceCode" id="cb24"><pre class="sourceCode bash"><code class="sourceCode bash"><span id="cb24-1"><a href="developing-en.html#cb24-1" tabindex="-1"></a><span class="fu">git</span> branch workshop1_intro <span class="co"># creates a new branch</span></span></code></pre></div>
552552
<p>Github Desktop (<a href="https://docs.github.com/en/free-pro-team@latest/desktop/contributing-and-collaborating-using-github-desktop/managing-branches#creating-a-branch">instructions here</a>).</p>
553553
<ol start="2" style="list-style-type: decimal">
554554
<li><strong>Switch to this branch</strong>. Make sure you are working on your new branch!</li>
555555
</ol>
556556
<p>On the command line:</p>
557-
<div class="sourceCode" id="cb25"><pre class="sourceCode bash"><code class="sourceCode bash"><span id="cb25-1"><a href="developing-en.html#cb25-1" aria-hidden="true" tabindex="-1"></a><span class="fu">git</span> checkout workshop1_intro <span class="co"># switches to this branch</span></span>
558-
<span id="cb25-2"><a href="developing-en.html#cb25-2" aria-hidden="true" tabindex="-1"></a></span>
559-
<span id="cb25-3"><a href="developing-en.html#cb25-3" aria-hidden="true" tabindex="-1"></a><span class="co"># Note that you can create and switch branch in a single line: </span></span>
560-
<span id="cb25-4"><a href="developing-en.html#cb25-4" aria-hidden="true" tabindex="-1"></a><span class="fu">git</span> checkout <span class="at">-b</span> workshop1_intro</span></code></pre></div>
557+
<div class="sourceCode" id="cb25"><pre class="sourceCode bash"><code class="sourceCode bash"><span id="cb25-1"><a href="developing-en.html#cb25-1" tabindex="-1"></a><span class="fu">git</span> checkout workshop1_intro <span class="co"># switches to this branch</span></span>
558+
<span id="cb25-2"><a href="developing-en.html#cb25-2" tabindex="-1"></a></span>
559+
<span id="cb25-3"><a href="developing-en.html#cb25-3" tabindex="-1"></a><span class="co"># Note that you can create and switch branch in a single line: </span></span>
560+
<span id="cb25-4"><a href="developing-en.html#cb25-4" tabindex="-1"></a><span class="fu">git</span> checkout <span class="at">-b</span> workshop1_intro</span></code></pre></div>
561561
<p>GitHub Desktop (<a href="https://docs.github.com/en/free-pro-team@latest/desktop/contributing-and-collaborating-using-github-desktop/managing-branches#switching-between-branches">instructions here</a>).</p>
562562
<ol start="3" style="list-style-type: decimal">
563563
<li><p><strong>Make your changes</strong>, following the <a href="developing-en.html#guidelines">Guidelines</a> listed above.</p></li>
564564
<li><p><strong>Add and commit your changes</strong>. Once you are finished making changes on your branch, add and commit them to record these changes. When you commit changes, it is essential to include a commit message that briefly summarizes what you’ve done. Keep it brief but informative!</p></li>
565565
</ol>
566566
<p>On the command line:</p>
567-
<div class="sourceCode" id="cb26"><pre class="sourceCode bash"><code class="sourceCode bash"><span id="cb26-1"><a href="developing-en.html#cb26-1" aria-hidden="true" tabindex="-1"></a><span class="fu">git</span> add <span class="at">-A</span> <span class="co"># add all your changes</span></span>
568-
<span id="cb26-2"><a href="developing-en.html#cb26-2" aria-hidden="true" tabindex="-1"></a><span class="fu">git</span> commit <span class="at">-m</span> <span class="st">&quot;fix code for plot in Challenge 1&quot;</span> <span class="co"># commit your changes with a message</span></span></code></pre></div>
567+
<div class="sourceCode" id="cb26"><pre class="sourceCode bash"><code class="sourceCode bash"><span id="cb26-1"><a href="developing-en.html#cb26-1" tabindex="-1"></a><span class="fu">git</span> add <span class="at">-A</span> <span class="co"># add all your changes</span></span>
568+
<span id="cb26-2"><a href="developing-en.html#cb26-2" tabindex="-1"></a><span class="fu">git</span> commit <span class="at">-m</span> <span class="st">&quot;fix code for plot in Challenge 1&quot;</span> <span class="co"># commit your changes with a message</span></span></code></pre></div>
569569
<p>You can also use GitHub Desktop to add changes (<a href="https://docs.github.com/en/free-pro-team@latest/desktop/contributing-and-collaborating-using-github-desktop/committing-and-reviewing-changes-to-your-project#2-selecting-changes-to-include-in-a-commit">instructions here</a>) and commit them (<a href="https://docs.github.com/en/free-pro-team@latest/desktop/contributing-and-collaborating-using-github-desktop/committing-and-reviewing-changes-to-your-project#3-write-a-commit-message-and-push-your-changes">instructions here</a>).</p>
570570
<ol start="5" style="list-style-type: decimal">
571571
<li><strong>Sync your main branch with the remote repository</strong>. It’s important to make sure your main branch is up to date before changing it. Go to back to the main branch and pull changes that were made since you last copied the repository.</li>
572572
</ol>
573573
<p>Pull the <code>dev</code> on the command line:</p>
574-
<div class="sourceCode" id="cb27"><pre class="sourceCode bash"><code class="sourceCode bash"><span id="cb27-1"><a href="developing-en.html#cb27-1" aria-hidden="true" tabindex="-1"></a><span class="fu">git</span> checkout dev <span class="co"># switch back to the main branch</span></span>
575-
<span id="cb27-2"><a href="developing-en.html#cb27-2" aria-hidden="true" tabindex="-1"></a><span class="ex">pull</span> git <span class="co"># pull changes</span></span></code></pre></div>
574+
<div class="sourceCode" id="cb27"><pre class="sourceCode bash"><code class="sourceCode bash"><span id="cb27-1"><a href="developing-en.html#cb27-1" tabindex="-1"></a><span class="fu">git</span> checkout dev <span class="co"># switch back to the main branch</span></span>
575+
<span id="cb27-2"><a href="developing-en.html#cb27-2" tabindex="-1"></a><span class="ex">pull</span> git <span class="co"># pull changes</span></span></code></pre></div>
576576
<p>Pull the <code>master</code> branch on GitHub Desktop (<a href="https://docs.github.com/en/free-pro-team@latest/desktop/contributing-and-collaborating-using-github-desktop/syncing-your-branch#pulling-to-your-local-branch-from-the-remote">instructions here</a>).</p>
577577
<ol start="6" style="list-style-type: decimal">
578578
<li><strong>Merge your branch with the main branch locally.</strong> Switch back to your branch (e.g. <code>workshop1_intro</code>) and merge it with your local main branch. If there are conflicts, please resolve them!</li>
579579
</ol>
580580
<p>You can merge your branch with the <code>dev</code> branch using the command line:</p>
581-
<div class="sourceCode" id="cb28"><pre class="sourceCode bash"><code class="sourceCode bash"><span id="cb28-1"><a href="developing-en.html#cb28-1" aria-hidden="true" tabindex="-1"></a><span class="fu">git</span> checkout workshop1_intro <span class="co"># switch back to your branch</span></span>
582-
<span id="cb28-2"><a href="developing-en.html#cb28-2" aria-hidden="true" tabindex="-1"></a><span class="fu">git</span> merge dev <span class="co"># merge the main branch with your branch</span></span></code></pre></div>
581+
<div class="sourceCode" id="cb28"><pre class="sourceCode bash"><code class="sourceCode bash"><span id="cb28-1"><a href="developing-en.html#cb28-1" tabindex="-1"></a><span class="fu">git</span> checkout workshop1_intro <span class="co"># switch back to your branch</span></span>
582+
<span id="cb28-2"><a href="developing-en.html#cb28-2" tabindex="-1"></a><span class="fu">git</span> merge dev <span class="co"># merge the main branch with your branch</span></span></code></pre></div>
583583
<p>Merge your branch with the <code>master</code> branch in GitHub Desktop (<a href="https://docs.github.com/en/free-pro-team@latest/desktop/contributing-and-collaborating-using-github-desktop/syncing-your-branch#merging-another-branch-into-your-project-branch">instructions here</a>).</p>
584584
<ol start="7" style="list-style-type: decimal">
585585
<li><strong>Push your locally merged branch</strong> to the remote GitHub repository.</li>
586586
</ol>
587587
<p>On the command line, you can push your locally merged branch (e.g. <code>workshop1_intro</code>) to the remote repository like this:</p>
588-
<div class="sourceCode" id="cb29"><pre class="sourceCode bash"><code class="sourceCode bash"><span id="cb29-1"><a href="developing-en.html#cb29-1" aria-hidden="true" tabindex="-1"></a><span class="fu">git</span> push <span class="at">--set-upstream</span> origin workshop1_intro <span class="co"># push to the remote!</span></span></code></pre></div>
588+
<div class="sourceCode" id="cb29"><pre class="sourceCode bash"><code class="sourceCode bash"><span id="cb29-1"><a href="developing-en.html#cb29-1" tabindex="-1"></a><span class="fu">git</span> push <span class="at">--set-upstream</span> origin workshop1_intro <span class="co"># push to the remote!</span></span></code></pre></div>
589589
<p>Push your branch (e.g. <code>workshop1_intro</code>) to the remote repository in GitHub Desktop (<a href="https://docs.github.com/en/free-pro-team@latest/desktop/contributing-and-collaborating-using-github-desktop/syncing-your-branch#merging-another-branch-into-your-project-branch">see step #4)</a>).</p>
590590
<ol start="8" style="list-style-type: decimal">
591591
<li><strong>Open a <a href="https://help.github.com/articles/about-pull-requests/">Pull Request</a></strong>.</li>

0 commit comments

Comments
 (0)