From lionel at rstudio.com  Tue May  9 11:56:20 2017
From: lionel at rstudio.com (Lionel Henry)
Date: Tue, 9 May 2017 11:56:20 +0200
Subject: [Rd] A few suggestions and perspectives from a PhD student
In-Reply-To: <CAO1zAVYhYz3ZuWAYH3z=C1-F2q5W-aUwPAhBWROxw5viNDiW5g@mail.gmail.com>
References: <FCBC5362-8436-487D-95A0-65CB5924BD29@idi.ntnu.no>
 <CAP01uRk1NzjRjs80hHj3mJ+n1iaESfxj00t88fSkt_wS2pV1rg@mail.gmail.com>
 <AE0E15A4-5A91-4E00-ABF8-6463635E45D4@idi.ntnu.no>
 <CA+vqiLG=mDFOiWScr4TCVjkwszXo+38ZTFB4T-7UvqbKzwy+7Q@mail.gmail.com>
 <4fdf0b2c-0393-aab3-dc93-84345baa7f67@mpiib-berlin.mpg.de>
 <CAO1zAVYhYz3ZuWAYH3z=C1-F2q5W-aUwPAhBWROxw5viNDiW5g@mail.gmail.com>
Message-ID: <CAJf4E3ogWA3cvvUutqTbrjnA7OeFvemJR3vu3fWDWMAY8LXR3Q@mail.gmail.com>

> Third, there's a lot of nonstandard evaluation going on in all these
> packages. Using them inside your own functions requires serious attention
> (eg the difference between aes() and aes_() in ggplot2). Actually, even
> though I definitely see the merits of these packages in data analysis, the
> tidyverse feels like a (clean and powerful) macro language on top of R.

That is going to change as we have put a lot of effort into learning
how to deal with capturing functions. See the tidyeval framework which
will enable full and flexible programmability of tidyverse grammars.

That said I agree that data analysis and package programming often
require different sets of tools.

Lionel



[Rd] A few suggestions and perspectives from a PhD student
Lionel Henry