[Rd] Enhances, require() and quality control

From: Gregor Gorjanc <gregor.gorjanc_at_bfro.uni-lj.si>
Date: Thu 07 Dec 2006 - 00:38:04 GMT


Hello!

I am working on a package where Enhances field seems to be a plausible option. When I add package, say coda, to this field, I get the following warning with recent R-devel:


See the information on DESCRIPTION files in the chapter 'Creating R packages' of the 'Writing R Extensions' manual.


I have require(code) somewhere in the code. Is this OK or is R CMD check to stringent in case of enhances field - I get no warning if that package is in depends or suggests fields?

After a short look into src/library/tools/R/QC.R I think that the following might be the solution. I did not do any other testing than with my package, where R CMD check (R with proposed change) passed without warnings.

Index: src/library/tools/R/QC.R


-- 
Lep pozdrav / With regards,
    Gregor Gorjanc
----------------------------------------------------------------------
University of Ljubljana     PhD student
Biotechnical Faculty
Zootechnical Department     URI: http://www.bfro.uni-lj.si/MR/ggorjan
Groblje 3                   mail: gregor.gorjanc <at> bfro.uni-lj.si

SI-1230 Domzale             tel: +386 (0)1 72 17 861
Slovenia, Europe            fax: +386 (0)1 72 17 888

----------------------------------------------------------------------
"One must learn by doing the thing; for though you think you know it,
 you have no certainty until you try." Sophocles ~ 450 B.C.

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Thu Dec 07 20:01:54 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 07 Dec 2006 - 17:30:51 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.