[R] %>%

Duncan Murdoch murdoch.duncan at gmail.com
Wed Feb 18 12:10:57 CET 2015


On 17/02/2015 11:03 PM, Hadley Wickham wrote:
> On Tue, Feb 17, 2015 at 6:02 PM, Hervé Pagès <hpages at fredhutch.org> wrote:
>> On 02/17/2015 02:10 PM, Erich Neuwirth wrote:
>>>
>>> AFAIK dplyr imports magrtittr.
>>> So dplyr ses %>% from migrittr, it does not have its own version.
>>
>> But it has its own man page so who knows?
> 
> If you import and re-export a function from another package, you have
> to document it, even if it's already documented elsewhere.
> 
> Hadley
> 

The promptImport() function generates boilerplate documentation that
links to the original docs.  (I notice it doesn't escape % properly, so
the generated page for "%>%" wouldn't work; sigh.)

Duncan Murdoch



More information about the R-help mailing list