NOTE: unstated dependencies in examples
You have this in Jevons.Rd:
# show as balloonplots
if (require(gplots)) {
and this in Snow.Rd:
%\dontrun{
library(sp)
It will certainly be helpful if R CMD check can provide more
informative messages (in this case, e.g, point out the Rd files).
Regards,
Yihui
--
Yihui Xie <xieyihui at gmail.com>
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Wed, Oct 12, 2011 at 11:33 AM, Michael Friendly <friendly at yorku.ca> wrote:
Using R 2.13.1, I am now getting the following NOTE when I run R CMD check on my HistData package * checking for unstated dependencies in examples ... NOTE 'library' or 'require' calls not declared from: ?gplots sp Under R 2.12.x, I didn't get these notes. I have ~ 25 .Rd files in this package, and AFAICS, every example uses library or require for the functions used; ?the DESCRIPTION file has the long list of Suggests, which previously was sufficient for packages used in examples. Suggests: gtools, KernSmooth, maps, ggplot2, proto, grid, reshape, plyr, lattice, ReadImages, car But I have no way to find the .Rd file(s) that triggered this note. ?What is the tool used in R CMD check to make this diagnosis? ?It would be better if this reported the .Rd file(s) that triggered this note. Is it possible that this note could be specious? -Michael -- Michael Friendly ? ? Email: friendly AT yorku DOT ca Professor, Psychology Dept. York University ? ? ?Voice: 416 736-5115 x66249 Fax: 416 736-5814 4700 Keele Street ? ?Web: ? http://www.datavis.ca Toronto, ONT ?M3J 1P3 CANADA
______________________________________________ R-devel at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel