[Rd] R CMD check and missing imports from base packages

Gábor Csárdi csardi.gabor at gmail.com
Wed Apr 29 19:00:14 CEST 2015


On Wed, Apr 29, 2015 at 12:53 PM, Winston Chang <winstonchang1 at gmail.com>
wrote:

> On Tue, Apr 28, 2015 at 3:04 PM, Gábor Csárdi <csardi.gabor at gmail.com>
> wrote:
> >
> >
> > E.g. if package 'ggplot2' uses 'stats::density()', and package 'igraph'
> > also defines 'density()', and 'igraph' is on the search path, then
> > 'ggplot2' will call 'igraph::density()' instead of 'stats::density()'.
>
>
> Just to be clear: you mean that this happens when ggplot2 contains a
> call like 'density()', not 'stats::density()' (but the intention is to
> call stats::density()), right?
>

Yes, exactly as you say, I am sorry for the confusion. This is actually a
real example:
https://github.com/hadley/ggplot2/issues/1041

Gabor


>
> -Winston
>

	[[alternative HTML version deleted]]



More information about the R-devel mailing list