Skip to content

Commit

Permalink
Built site for gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Quarto GHA Workflow Runner committed Nov 10, 2023
1 parent ce7a0a9 commit 086b543
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .nojekyll
Original file line number Diff line number Diff line change
@@ -1 +1 @@
afb3dacb
80c9f361
4 changes: 2 additions & 2 deletions 03-functional-programming.html
Original file line number Diff line number Diff line change
Expand Up @@ -328,8 +328,8 @@ <h2 data-number="2.1" class="anchored" data-anchor-id="introduction"><span class
<div class="cell">
<div class="sourceCode cell-code" id="cb4"><pre class="sourceCode r code-with-copy"><code class="sourceCode r"><span id="cb4-1"><a href="#cb4-1" aria-hidden="true" tabindex="-1"></a><span class="fu">rnorm</span>(<span class="at">n =</span> <span class="dv">10</span>)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<div class="cell-output cell-output-stdout">
<pre><code> [1] -0.2426159 1.6636052 -1.7518269 -1.2545634 1.4163760 -0.7437895
[7] 1.5512956 -0.1719243 -2.3414324 -0.7885412</code></pre>
<pre><code> [1] -0.4815198 -1.6562569 -1.4474807 0.3995674 -1.8577727 -0.6291400
[7] -0.2049999 1.3486385 -1.3850405 -1.2375155</code></pre>
</div>
</div>
<p>Each time you run this line, you will get another set of 10 random numbers. This is obviously a good thing in interactive data analysis, but much less so when running a pipeline programmatically. R provides a way to fix the random seed, which will make sure you always get the same random numbers:</p>
Expand Down
Binary file modified Building-Reproducible-Analytical-Pipelines.epub
Binary file not shown.
Binary file modified Building-Reproducible-Analytical-Pipelines.pdf
Binary file not shown.
27 changes: 13 additions & 14 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -339,14 +339,13 @@ <h1 class="unnumbered">Introduction</h1>
<section id="schedule" class="level2">
<h2 class="anchored" data-anchor-id="schedule">Schedule</h2>
<ul>
<li>2023/11/28, Introduction to reproducibility and functional programming</li>
<li>2023/12/04, Version control with Git</li>
<li>2023/12/05, Package development and unit testing</li>
<li>2023/12/11, Build automation</li>
<li>2023/12/12, Literate programming and Shiny</li>
<li>2023/12/18, Self-contained pipelines with Docker</li>
<li>2023/12/19, CI/CD with Github Actions</li>
<li>2023/12/19, Bonus session, if time allows: reproducibility with Nix</li>
<li>2023/11/27, Introduction to reproducibility and functional programming</li>
<li>2023/11/28, Version control with Git, Package development and unit testing</li>
<li>2023/12/05, Build automation</li>
<li>2023/12/11, Literate programming and Shiny</li>
<li>2023/12/12, Self-contained pipelines with Docker</li>
<li>2023/12/18, CI/CD with Github Actions</li>
<li>2023/12/19, Reproducibility with Nix</li>
</ul>
</section>
<section id="reproducible-analytical-pipelines" class="level2">
Expand Down Expand Up @@ -412,12 +411,11 @@ <h2 class="anchored" data-anchor-id="pre-requisites">Pre-requisites</h2>
<h2 class="anchored" data-anchor-id="grading">Grading</h2>
<p>The way grading works in this course is as follows: during lecture hours you will follow along. At home, you’ll be working on setting up your own pipeline. For this, choose a dataset that ideally would need some cleaning and/or tweaking to be usable. We are going first to learn how to package this dataset alongside some functions to make it clean. If time allows, I’ll leave some time during lecture hours for you to work on it and ask me and your colleagues for help. At the end of the semester, I will need to download your code and get it running. The less effort this takes me, the better your score. Here is a tentative breakdown:</p>
<ul>
<li><p>Code is on github.com and I can pull it: 2 points;</p></li>
<li><p>Data and functions to run pipeline are in a tested, documented package? 3 points;</p></li>
<li><p>I don’t need to do anything to load data: 5 points;</p></li>
<li><p>I can download and install your pipeline’s dependencies in one command line: 5 points;</p></li>
<li><p>I can run your pipeline in one command line: 5 points</p></li>
<li><p>Extra points: pipeline is dockerized and uses github actions to run? 5 points</p></li>
<li>Code is on github.com and the repository is documented with a Readme.md file: 5 points;</li>
<li>Data and functions to run pipeline are documented and tested: 5 points;</li>
<li>Every software dependency is easily installed: 5 points;</li>
<li>Pipeline can be executed in one command: 5 points;</li>
<li>Bonus points: pipeline is dockerized, or uses Nix, and/or uses Github Actions to run? 5 points</li>
</ul>
<p>The way to fail this class is to write an undocumented script that only runs on your machine and expect me to debug it to get it to run.</p>
</section>
Expand All @@ -443,6 +441,7 @@ <h2 class="anchored" data-anchor-id="further-reading">Further reading</h2>
<li><a href="https://cran.r-project.org/doc/manuals/r-release/R-intro.html">An Introduction to R (from the R team themselves)</a></li>
<li><a href="https://cran.r-project.org/doc/FAQ/R-FAQ.html#What-is-CRAN_003f">What is CRAN?</a></li>
<li><a href="https://www.burns-stat.com/pages/Tutor/R_inferno.pdf">The R Inferno</a></li>
<li><a href="https://raps-with-r.dev/">Building Reproducible Analytical Pipelines with R</a></li>
<li><a href="https://analysisfunction.civilservice.gov.uk/support/reproducible-analytical-pipelines/">Reproducible Analytical Pipelines (RAP)</a></li>
</ul>
</section>
Expand Down
8 changes: 4 additions & 4 deletions search.json

Large diffs are not rendered by default.

0 comments on commit 086b543

Please sign in to comment.