[R] colorspace namespace problem with R CMD check --as-cran

stephen sefick ssefick at gmail.com
Wed Apr 12 01:26:42 CEST 2017


Here is the relevant snippett from devtools::check() logs. I searched every
file in pkg/R, and there is no call to plot.index (or plot at all).

Warning: namespace ‘colorspace’ is not available and has been replaced
by .GlobalEnv when processing object ‘plot.index’
Warning: namespace ‘colorspace’ is not available and has been replaced
by .GlobalEnv when processing object ‘plot.index’


On Tue, Apr 11, 2017 at 5:15 PM, William Dunlap <wdunlap at tibco.com> wrote:

> Does one of the objects in pkg/data (or pkg/R) include a function made
> by one of the functions in package:colorspace?  Such a function would
> have the environment getNamespace("colorspace").
> Bill Dunlap
> TIBCO Software
> wdunlap tibco.com
>
>
> On Tue, Apr 11, 2017 at 2:47 PM, stephen sefick <ssefick at gmail.com> wrote:
> > I am at a loss. I do not know how to make this reproducible without
> > providing the package sourced. I am receiving a warning when issuing
> >
> > R --vanilla CMD check --as-cran --no-restore
> >
> > The description file has
> > Imports: methods, reshape2, plyr, doBy, zoo
> >
> > this is in 00install.out
> > ** R
> > ** data
> > *** moving datasets to lazyload DB
> > ** inst
> > ** preparing package for lazy loading
> > Warning: namespace ‘colorspace’ is not available and has been replaced
> > by .GlobalEnv when processing object ‘plot.index’
> > Warning: namespace ‘colorspace’ is not available and has been replaced
> > by .GlobalEnv when processing object ‘plot.index’
> > ** help
> > *** installing help indices
> > ** building package indices
> > ** testing if installed package can be loaded
> >
> >
> > Thank you for any help in advance.
> > kindest regards,
> >
> > Stephen Sefick
> >
> > --
> > Let's not spend our time and resources thinking about things that are so
> > little or so large that all they really do for us is puff us up and make
> us
> > feel like gods.  We are mammals, and have not exhausted the annoying
> little
> > problems of being mammals.
> >
> >                                 -K. Mullis
> >
> > "A big computer, a complex algorithm and a long time does not equal
> > science."
> >
> >                               -Robert Gentleman
> >
> >         [[alternative HTML version deleted]]
> >
> > ______________________________________________
> > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide http://www.R-project.org/
> posting-guide.html
> > and provide commented, minimal, self-contained, reproducible code.
>



-- 
Let's not spend our time and resources thinking about things that are so
little or so large that all they really do for us is puff us up and make us
feel like gods.  We are mammals, and have not exhausted the annoying little
problems of being mammals.

                                -K. Mullis

"A big computer, a complex algorithm and a long time does not equal
science."

                              -Robert Gentleman

	[[alternative HTML version deleted]]



More information about the R-help mailing list