Instructor Notes
General notes
The examples gradually build up to a full analysis
of the Palmer
Penguins dataset. However, there are a few places where completely
different code is demonstrated to explain certain concepts. Since a
given targets
project can only have one
_targets.R
file, this means the participants may have to
delete their existing _targets.R
file and write a new one
to follow along with the examples. This may cause frustration if they
can’t keep a record of what they have done so far. One solution would be
to save the old _targets.R
file as
_targets_old.R
or similar, then rename it when it should be
run again.
Optional episodes:
The “Function” episode is an optional episode and will depend on the learners coming to your workshop. We would recommend having a show of hands (or stickies) who has experience with functions, and if you have learners who do not, run this episode.
targets relies so much on functions we believe it is worth spending a little time on if you have learners inexperienced with them, they will quickly fall behind and not be empowered to use targets at the end of the workshop if they don’t get a short introduction.