From ggrothendieck at gmail.com  Tue Dec 23 17:59:02 2014
From: ggrothendieck at gmail.com (Gabor Grothendieck)
Date: Tue, 23 Dec 2014 11:59:02 -0500
Subject: [Rd] CRAN and ggplot2 geom and stat extensions
In-Reply-To: <CA+vqiLFHDwb+nHrnGC+iX_1-zLvs6oyVsUMyq71XAv3TRC8ZoQ@mail.gmail.com>
References: <54998B98.3050607@vanderbilt.edu>
	<CA+vqiLFHDwb+nHrnGC+iX_1-zLvs6oyVsUMyq71XAv3TRC8ZoQ@mail.gmail.com>
Message-ID: <CAP01uRnKPinGeM5=6Dcr5r+P9hCCz0eXA=2WFiv=j5Eu6==Rzg@mail.gmail.com>

On Tue, Dec 23, 2014 at 11:21 AM, Ista Zahn <istazahn at gmail.com> wrote:
> On Tue, Dec 23, 2014 at 10:34 AM, Frank Harrell
> <f.harrell at vanderbilt.edu> wrote:
>> I am thinking about adding several geom and stat extensions to ggplot2
>> in the Hmisc package.  To do this requires using non-exported ggplot2
>> functions as discussed in
>> http://stackoverflow.com/questions/18108406/creating-a-custom-stat-object-in-ggplot2
>>
>> If I use the needed ggplot2::: notation the package will no longer pass
>> CRAN checks.  Does anyone know of a solution?
>
> the ggthemes package is on CRAN and uses ggplot2::: so it is at least
> possible that this will be allowed for Hmisc as well.
>

Packages ggmap, ggtern and ggsubplot also define their own geom's and/or stat's.



[Rd] CRAN and ggplot2 geom and stat extensions
Gabor Grothendieck