Implements robust R metaprogramming and tidy evaluation patterns using the rlang framework.
This skill provides specialized guidance for R developers using the rlang metaprogramming framework, which powers the tidyverse data-masking system. It enables Claude to assist in writing functions that behave like native dplyr or ggplot2 functions, covering essential patterns such as argument forwarding with the curly-curly operator, expression injection, and dynamic dots. By using this skill, developers can ensure their R code is idiomatic, safe from name collisions, and follows the latest best practices for tidy evaluation and package development.
Características Principales
01Argument forwarding using the curly-curly {{ }} operator
02Injection operators !! and !!! for single and multiple expressions
03Dynamic dots support with list2() and name injection using :=
04Disambiguation techniques using .data and .env pronouns
05Bridge patterns for converting between tidy selection and data-masking
066 GitHub stars
Casos de Uso
01Programmatically accessing data frame columns by string names without scope issues
02Developing R packages that require stable and safe metaprogramming
03Creating custom wrapper functions for dplyr, tidyr, and ggplot2