© Thomas Mailund 2018

Thomas Mailund, Domain-Specific Languages in R, https://doi.org/10.1007/978-1-4842-3588-1_8

8. Tidy Evaluation

Thomas Mailund

(1)Aarhus N, Staden København, Denmark

The so-called tidyverse refers to a number of R packages designed to work well together and based on similar designs that can all be considered domain-specific languages in themselves. These packages include dplyr, tidyr, and ggplot2 and mainly consist of functions that do non-standard evaluation. The way they manage non-standard evaluation is consistent among the packages and based on what they call tidy evaluation, which primarily relies on two features implemented in the rlang package: quosures and quasi-quotation.

We will use the rlang package once more, but ...

Get Domain-Specific Languages in R: Advanced Statistical Programming now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.