On Thu, 20 Sep 2007, Christian Kohler wrote:

> Dear list members,
>
> as I am new to R, I would kindly like to ask for your help.
>
> I checked a package with the 'R CMD check' command and all worked out
> well, (only 'OK' status). Loading its vignette afterwards with
> 'source("package.Rcheck/inst/doc/vignette.R")' yields a message saying
> that several (well, in my case more than 50) warnings still exist and
> can be viewed via the 'warnings()' command.
>
> My question now is: why are there still warnings even though the check
> has been passed without any problems? Generally speaking, would it be

Because the check process does not consider R-level warnings in examples 
or vignettes, only errors.  Only someone who understands the code will 
know if the warnings are pedagogical, innocuous or serious.  No one says 
that examples should not give warnings, and it may be helpful to 
illustrate when they might occur.

> possible to submit this package e.g. to the Bioconductor project, even
> if these warnings still exist?

It is possible to submit it, and very likely that it would be acceptable. 
Distributing a package with warnings you do not understand is not a good 
idea, though.

-- 
Brian D. Ripley,                  [EMAIL PROTECTED]
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-help@r-project.org mailing list
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.

Reply via email to