Metaprogramming

Use when writing R code that manipulates expressions, builds code programmatically, or needs to understand rlang's defuse/inject mechanics. Covers: defusing with expr()/enquo()/enquos(), quosure environment tracking, injection with !!/!!!/{{, symbol construction with sym()/syms(). Does NOT cover: data-mask programming patterns (tidy-evaluation), error handling (rlang-conditions), function design (designing-tidy-r-functions).

jsperger 2eb8ce9 4 files · 31.5 KB Updated

File contents

jsperger/llm-r-skills/tree/main/skills/metaprogramming commit 2eb8ce9a7b

Frequently asked questions

npx skillmds@latest add jsperger/metaprogramming