Demystifying . . . (dots): R package dev fundamentals
Josiah Parry
0:00 / 0:00
Demystifying . . . (dots): R package dev fundamentals
2 560 просмотров · 3 года назад
Josiah Parry
2,94 тыс. подписчиков
2 560 просмотров · 3 года назад
Dots (. . .) underpin so much of what we do in R. They are what make packages in the the tidyverse such as dplyr so flexible! Any R package developer worth their salt must know how to use them effectively.
This video discusses what dots are, how to capture them, and how to make your functions better by using the ellipsis R package.
Please! Like, comment, and subscribe :) it'll help me keep making more videos.
Resources:
Slides: https://josiahparry.github.io/youtube...
Slides source code: https://github.com/JosiahParry/youtub...
Advanced R by Hadley Wickham: https://adv-r.hadley.nz/functions.htm...
rlang dynamic dots: https://rlang.r-lib.org/reference/dyn...
ellipsis package: https://ellipsis.r-lib.org/
00:00 - intro
01:35 - what dots do
02:50 - example
04:45 - capture
05:20 - real world example
06:30 - dots helpers
08:30 - warning!!
08:51 - ellipsis package
09:35 - outro
Explosion Image by brgfx on Freepik