Closed github-learning-lab[bot] closed 3 years ago
To complete this section, you'll need some R packages. You will need to install targets
and its companion package, tarchetypes
.
install.packages(c("targets", "tarchetypes"))
While you are at it, please install a few other packages that you'll use along the way:
install.packages(c("dplyr", "readr", "stringr", "sbtools", "whisker", "dataRetrieval", "ggplot2", "purrr"))
When all packages are installed, comment with the message that appears after you run packageVersion("targets")
.
[1] ‘0.4.2’
Thanks, @wdwatkins! Now, verify that your the number you just commented is greater than or equal to 0.3.1
.
If not, try re-installing:
install.packages(c("targets", "tarchetypes"))
library(targets)
If you can't get it to work, try contacting your designated course instructor!
Data analyses are often complex. Data pipelines are ways of managing that complexity. Our data pipelines have two foundational pieces:
Good organization of code scripts help you quickly find the file you need, whether you or a teammate created it.
Dependency managers such as
remake
,scipiper
,snakemake
,drake
, andtargets
formalize the relationships among the datasets and functions to ensure reproducibility while also minimizing the amount of unnecessary runtime as you're creating or modifying parts of the pipeline.:keyboard: Activity: Assign yourself to this issue to get started.
:bulb: Tip: Throughout this course, I, the Learning Lab Bot, will reply and direct you to the next step each time you complete an activity. But sometimes I'm too fast when I :hourglass_flowing_sand: give you a reply, and occasionally you'll need to refresh the current GitHub page to see it. Please be patient, and let your course contact know if I seem to have become completely stuck.
I'll sit patiently until you've assigned yourself to this one.