Being reproducible to better collaborate: Tools and Practices

Day 4

Time (PST) Activity
10:00am - 11:20am Building analytical workflows: meet targets (80 min)
11:20am - 11:30am Break (10 min)
11:30am - 12:30am Reproducible publication: meet rrtools (60 min)
12:30pm - 1:30pm Lunch (60 min)
1:30pm - 2:20pm Documenting & sharing things (50 min)
2:20am - 2:30pm Break (10 min)
2:30pm - 4:00pm Group Projects (90min)

Leveraging existing frameworks for reproducibility

Please remember that every workflow or framework is opinionated. This is also true for the tools out there that can help you to develop reproducible workflows. It is great practice to test them on a small project to see if hey could fit your project needs and way of working and collaborating. In this section we will go over a few R packages that could be of interest for your project.

Analytical workflow frameworks in R

Conceptual workflow model promoted by the tidyverse. Note the program box around the workflow and the iterative nature of the analytical process described. Source: R for Data Science https://r4ds.hadley.nz/intro#fig-ds-diagram

Targets

The targets R package can be very useful if you have a complex workflow that is built of many parts that take time to rerun. Target can detect and run only the strict necessary steps to rerun when a specific change has been done to the workflow.

Here for more: https://books.ropensci.org/targets/

Our practice example: https://github.com/brunj7/eds214-handson-targets

Pointblank

Although the pointblank package is mainly framed as a validating tool of the various part of your workflow, it provide a set of tools and great integration with the R Markdown ecosystem. It is also quite flexible making it possible to leverage this tool in a variety of project setups.

https://github.com/rstudio/pointblank

Reproducible publications

rrtools as an example


Documenting things

Why does it matter ?

Materials

Sharing things

Materials



Bren School logo

The original parts of this work are licensed under a Creative Commons Attribution 4.0 International License.

This website was made with quarto by Posit.