mindmap root)Reproducibility( 3-Code [Version] [Github] [Execution] ))targets(( 2-Environment š³ [Docker] [OS] [Libraries] [Environment] [R Packages] [Py Packages] 1-Data [Databases] [Blob storage] [Archives]
{targets}
for
Get ready!
Setup instructions ā> https://tinyurl.com/r-targets-setup
{renv}
, run install.packages("renv")
renv::restore()
to install the needed packagesTime | Segment | Duration | Description |
---|---|---|---|
0:00ā0:15 | Introduction & Setup | 15 min | Welcome, objectives, environment check, intro to {targets} . |
0:15ā0:35 | 01-basics: Core Concepts Exercise | 20 min | Build your first {targets} pipeline. |
0:35ā0:55 | 02-functions: Modularization Exercise | 20 min | Write and source custom functions for your pipeline. |
0:55ā1:05 | Break | 10 min | Stretch, coffee, questions. |
1:05ā1:25 | 03-files: File I/O & Quarto Exercise | 20 min | Handle file inputs/outputs and automate reporting. |
1:25ā1:45 | 04-parallel: Parallel Computing Exercise | 20 min | Speed up pipelines with parallel computing. |
1:45ā1:55 | Break | 10 min | Stretch, coffee, questions. |
1:55ā2:10 | 05-dynamic_branching: Dynamic Branching Ex. | 15 min | Process multiple groups/files efficiently. |
2:10ā2:25 | 06-database: Database Integration Exercise | 15 min | Integrate databases for robust data management. |
2:25ā2:35 | Break | 10 min | Stretch, coffee, questions. |
2:35ā2:45 | 07-full_example: Full Pipeline Exercise | 10 min | Bring together all concepts in a comprehensive example. |
2:45ā3:00 | Wrap-Up and Q&A | 15 min | Recap, resources, open questions, next steps. |
rsangole
Not good š
A survey of 1,576 researchers found that over 70% had failed to reproduce another scientistās experiments, and more than 50% couldnāt reproduce their own results!
Concerning⦠š©
Scientists tried replicating 56 studies. Only 19% found results consistent with the original papers
Gosh! ā ļø
A 2019 paper found just 24% of 800k Jupyter notebooks on GitHub could be rerun, and only 4% reproduced the same results!
Say it isnāt so! š¤Æ
A 2024 study on code reproducibility in economics attempted to reproduce 67 economics papers and found that only about 50% were reproducible, even with author assistance and mandatory code-sharing policies at journals!
How do we ensure end to end reproducibility?
mindmap root)Reproducibility( 3-Code [Version] [Github] [Execution] ))targets(( 2-Environment š³ [Docker] [OS] [Libraries] [Environment] [R Packages] [Py Packages] 1-Data [Databases] [Blob storage] [Archives]
Author Will Landau explainsā¦
Itāll help you go from hereā¦
To hereā¦
The workshop is structured to build your skills step-by-step, from foundational concepts to some advanced features:
We learned:
{targets}
is and why reproducibility mattersWe just scratched the surfaceā¦
rsangole
rahulsangole
Rahul S | 2025 R/Medicine | 9 Jun 2025 | https://tinyurl.com/r-targets-workshop