Skip to content
Prev 41537 / 63424 Next

warnings issued at installation time not reported by 'R CMD check'

Hi,

Warnings issued at installation time are not reported by 'R CMD check'.

Some of them are really important and telling something very useful
to the developer. See for example this warning:

 
http://bioconductor.org/checkResults/2.9/bioc-LATEST/globaltest/wilson2-checksrc.html

Actually, there is no formal warning reported by 'R CMD check' for
this package but if you scroll down the report and look at the output
produced during installation (globaltest.Rcheck/00install.out), you'll
see this:

   * installing *source* package ?globaltest? ...
   ** R
   ** data
   ** inst
   ** preparing package for lazy loading
   Warning in .simpleDuplicateClass(def, prev) :
     A specification for class ?data.frameOrNULL? in package 
?globaltest? seems equivalent to one from package ?Biobase? and is not 
turning on duplicate class definitions for this class
   Creating a generic function for ?sort? from package ?base? in package 
?globaltest?
   Creating a generic function for ?model.matrix? from package ?stats? 
in package ?globaltest?
   Creating a generic function for ?coefficients? from package ?stats? 
in package ?globaltest?
   Creating a generic function for ?fitted.values? from package ?stats? 
in package ?globaltest?
   Creating a generic function for ?residuals? from package ?stats? in 
package ?globaltest?
   ** help
   *** installing help indices
   ** building package indices ...
   *** tangling vignette sources ...
    ?GlobalTest.Rnw?
    ?GlobalTest_deprecated.Rnw?
   ** testing if installed package can be loaded

   * DONE (globaltest)

Why isn't this warning reported by 'R CMD check'?

Also the output of 'R CMD build' is not saying anything:

 
http://bioconductor.org/checkResults/2.9/bioc-LATEST/globaltest/wilson2-buildsrc.html

even though the package was installed to re-build the vignettes.
'R CMD build' might not be the place for issuing this kind of warning
though but 'R CMD check' definitely is.

This is with 2.14.0 beta (2011-10-16 r57266) on 64-bit openSUSE 11.4.

Thanks,
H.